input: from typing import List
  
  
  def generate_star_pattern() -> None:
      """ Generate and print a star pattern that starts with 1 star on the first line,
      increases by 1 star each line up to 5 stars on the fifth line, and then decreases
      by 1 star each line back down to 1 star on the last line.
      >>> generate_star_pattern()
      *
      **
      ***
      ****
      *****
      ****
      ***
      **
      *
      """
output:     for i in range(1, 6):
          print('*' * i)
      for i in range(4, 0, -1):
          print('*' * i)