input: Write a python function to generate and print even numbers from 1 to 10, excluding 7.
  assert generate_and_print_evens() == [2, 4, 6, 8, 10]
output: def generate_and_print_evens():
      evens = [i for i in range(1, 11) if i % 2 == 0 and i != 7]
      print(evens)
      return evens