input: Write a function to print even numbers in a given range.
  assert print_even_numbers(16) == [0, 2, 4, 6, 8, 10, 12, 14]
  assert print_even_numbers(10) == [0, 2, 4, 6, 8]
  assert print_even_numbers(5) == [0, 2, 4]
output: def print_even_numbers(n):
      return [i for i in range(n) if i % 2 == 0]