input: 
  def print_star_pattern() -> None:
      """Prints a star pattern where the first half of the pattern is increasing 
      until it reaches 5 stars on a line, and the second half is decreasing down 
      to 1 star.
  
      >>> print_star_pattern()
      *
      **
      ***
      ****
      *****
      *****
      ****
      ***
      **
      *
      """
      for i in range(5):
          for j in range(i + 1):
              print("*", end="")
          print("")
  
      for i in range(5, 0, -1):
          for j in range(i):
              print("*", end="")
          print("")
  
output:     for i in range(5):
          for j in range(i + 1):
              print("*", end="")
          print("")
  
      for i in range(5, 0, -1):
          for j in range(i):
              print("*", end="")
          print("")