input: 
  from typing import List
  
  def move_zeroes(lst: List[int]) -> List[int]:
      """ Given a list of integers, moves all zeroes to the end of the list.
      >>> move_zeroes([3, 0, 1, 0, 5, 0, 2])
      [3, 1, 5, 2, 0, 0, 0]
      >>> move_zeroes([0, 0, 0, 1, 2, 3])
      [1, 2, 3, 0, 0, 0]
      """
      new_lst = [num for num in lst if num != 0] + [0] * lst.count(0)
      return new_lst
  
  lst = [3, 0, 1, 0, 5, 0, 2]
  result = move_zeroes(lst)
  print(result)
  
output:     new_lst = [num for num in lst if num != 0] + [0] * lst.count(0)
      return new_lst