input: from typing import List
  
  
  def print_star_pattern(n: int) -> List[str]:
      """ Print a pattern of stars that starts with a line of n stars, increases gradually,
      and then decreases back to a line of n stars.
      >>> print_star_pattern(5)
      ['*', '**', '***', '****', '*****', '****', '***', '**', '*']
      """
      pattern = []
      for i in range(n):
          pattern.append('*' * (i + 1))
      for i in range(n - 1, 0, -1):
          pattern.append('*' * i)
      return pattern
output:     pattern = []
      for i in range(n):
          pattern.append('*' * (i + 1))
      for i in range(n - 1, 0, -1):
          pattern.append('*' * i)
      return pattern