input: def rewrite_code_with_list_comprehension() -> list:
      """
      Rewrite the given Python code using list comprehensions.
      The original code appends even numbers from 1 to 20 to a list.
      The task is to replace the for loop and conditional with a list comprehension.
      >>> rewrite_code_with_list_comprehension()
      [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
      """
output:     return [i for i in range(1, 21) if i % 2 == 0]