input: Write a function to rewrite the given Python code using list comprehensions.
  
  ### Input:
  even_numbers = []
  for i in range(1,21):
      if i % 2 == 0:
          even_numbers.append(i)
  
  ### Output:
  even_numbers = [i for i in range(1, 21) if i % 2 == 0]
  
  assert rewrite_with_list_comprehension(even_numbers) == [i for i in range(1, 21) if i % 2 == 0]
  assert rewrite_with_list_comprehension([]) == []
  assert rewrite_with_list_comprehension([i for i in range(1, 11) if i % 2 != 0]) == [i for i in range(1, 11) if i % 2 != 0]
  assert rewrite_with_list_comprehension([i for i in range(15, 30) if i % 3 == 0]) == [i for i in range(15, 30) if i % 3 == 0]
output: def rewrite_with_list_comprehension(lst):
      return [i for i in lst]