input: from typing import List
  
  
  def generate_number_pattern() -> str:
      """ Generate a number pattern by printing numbers in rows where each row 'i'
      contains numbers from 1 to 'i'.
      >>> generate_number_pattern()
      '1\\n12\\n123\\n1234\\n12345\\n'
      """
      output = ""
      for i in range(1, 6):
          for j in range(1, i + 1):
              output += str(j)
          output += "\n"
      return output
output:     output = ""
      for i in range(1, 6):
          for j in range(1, i + 1):
              output += str(j)
          output += "\n"
      return output