input: from typing import List
  
  
  def print_pattern(n: int) -> None:
      """ Print a pattern where each line is a sequence of numbers from 1 to the line number.
      >>> print_pattern(5)
      1
      12
      123
      1234
      12345
      >>> print_pattern(3)
      1
      12
      123
      """
      for i in range(1, n + 1):
          for j in range(1, i + 1):
              print(j, end="")
          print()
output:     for i in range(1, n + 1):
          for j in range(1, i + 1):
              print(j, end="")
          print()