input: 
  def print_asterisk_pattern(n: int) -> None:
      """Prints an asterisk pattern where the pattern grows from 1 to n asterisks,
      and then shrinks back to 1 asterisk.
      
      >>> print_asterisk_pattern(3)
      *
      **
      ***
      **
      *
      >>> print_asterisk_pattern(5)
      *
      **
      ***
      ****
      *****
      ****
      ***
      **
      *
      """
  
output:     for i in range(1, n + 1):
          print('*' * i)
      for i in range(n - 1, 0, -1):
          print('*' * i)