input: Write a function that takes a list of numbers and prints only the even numbers using a for loop.
  
  ### Input:
  my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
  
  ### Output:
  for num in my_list:
      if num % 2 == 0:
          print(num)
output: def print_even_numbers(my_list):
      for num in my_list:
          if num % 2 == 0:
              print(num)