input: Write a function to rewrite the given Python code using list comprehensions. The original code initializes an empty list and iterates through numbers from 1 to 20, appending even numbers to the list. The list comprehension should achieve the same result.
  assert list_comprehension_example()==[2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
  def list_comprehension_example():
      return [i for i in range(1, 21) if i % 2 == 0]
output: def list_comprehension_example():
      return [i for i in range(1, 21) if i % 2 == 0]