input: 
  from typing import List
  
  
  def print_star_pattern(rows: int) -> None:
      """Print a pattern of stars in a pyramid form and then reverse it.
      >>> print_star_pattern(2)
      *
      **
      *
      >>> print_star_pattern(5)
      *
      **
      ***
      ****
      *****
      ****
      ***
      **
      *
      """
  
output:     for i in range(1, rows + 1):
          print('*' * i)
      for i in range(rows - 1, 0, -1):
          print('*' * i)