input: Write a function to iterate over a list of numbers and print only the even numbers.
  assert my_function([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) == None
  # Expected output: 2 4 6 8 10
output: def my_function(numbers):
      for num in numbers:
          if num % 2 == 0:
              print(num, end=' ')