input: Write a function to rewrite the given Python code using list comprehensions. The function should take no input and return a list of even numbers from 1 to 21.
  
  def rewrite_with_list_comprehension():
      even_numbers = [i for i in range(1, 21) if i % 2 == 0]
      return even_numbers
  
  assert rewrite_with_list_comprehension() == [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
output: def rewrite_with_list_comprehension():
      return [i for i in range(1, 21) if i % 2 == 0]