input: Write a function to generate a list of even numbers from 1 to 10 using list comprehension.
  assert generate_even_numbers() == [2, 4, 6, 8, 10]
output: def generate_even_numbers():
      return [x for x in range(1, 11) if x % 2 == 0]