input: from typing import List
  
  def print_star_pattern(rows: int) -> None:
      """ Print a star pattern where the stars first increase and then decrease
      with the given number of rows.
      >>> print_star_pattern(5)
      *
      **
      ***
      ****
      *****
      ****
      ***
      **
      *
      """
      for i in range(rows):
          for j in range(i+1):
              print("*", end="")
          print("")
      
      for i in range(rows-1, 0, -1):
          for j in range(i):
              print("*", end="")
          print("")
output:     for i in range(rows):
          for j in range(i+1):
              print("*", end="")
          print("")
      
      for i in range(rows-1, 0, -1):
          for j in range(i):
              print("*", end="")
          print("")