input: Write a Python function that iterates over a list of numbers and prints only the even numbers. The function should take a list as input and perform the iteration and filtering within the function.
  
  Function:
  
  def print_even_numbers(my_list):
      for num in my_list:
          if num % 2 == 0:
              print(num)
  
  
  Test Case:
  
  my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
  print_even_numbers(my_list)
  
  
  Output:
  
  2
  4
  6
  8
  10
  
output: def print_even_numbers(my_list):
      for num in my_list:
          if num % 2 == 0:
              print(num)