input: Write a function to generate a pattern of asterisks based on the input. The pattern should start with 5 rows of increasing asterisks, followed by 5 rows of decreasing asterisks. The function should take an integer as input, representing the number of rows, and print the pattern accordingly.
  
  def print_asterisk_pattern(n):
      for i in range(n):
          for j in range(i+1):
              print("*", end="")
          print("")
          
      for i in range(n, 0, -1):
          for j in range(i):
              print("*", end="")
          print("")
  
  assert print_asterisk_pattern(5)
  assert print_asterisk_pattern(3)
output: def print_asterisk_pattern(n):
      for i in range(n):
          for j in range(i+1):
              print("*", end="")
          print("")
          
      for i in range(n, 0, -1):
          for j in range(i):
              print("*", end="")
          print("")