input: 
  def rewrite_with_comprehension(input_range: int) -> List[int]:
      """ Rewrite the imperative style code into a list comprehension.
      The original code takes a range and appends the even numbers in the 
      range to a new list. 
  
      >>> rewrite_with_comprehension(21)
      [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
      """
  
output:     return [x for x in range(1, input_range) if x % 2 == 0]