input: Write a function to print the following output pattern:
  
  for i in range(1,6):
      for j in range(1,i+1):
          print(j, end="")
      print()
  
  def print_pattern():
      for i in range(1,6):
          for j in range(1,i+1):
              print(j, end="")
          print()
output: def print_pattern():
      for i in range(1,6):
          for j in range(1,i+1):
              print(j, end="")
          print()