input: Write a Python function to print numbers from 1 to 4.
  assert capture_output(print_numbers())== "1\n2\n3\n4\n"
  assert capture_output(print_numbers())== "1\n2\n3\n4\n"
output: def print_numbers():
      for i in range(1, 5):
          print(i)