input: Write a python function to print numbers from 1 to n.
  assert printNumbers(5) == None  # Output should be "1 2 3 4 5 "
  assert printNumbers(3) == None  # Output should be "1 2 3 "
  assert printNumbers(1) == None  # Output should be "1 "
output: def printNumbers(n):
      for i in range(1, n + 1):
          print(i, end=" ")
      print()