input: def move_zeroes(lst):
      """
      Move all zeroes in a given list to the end of the list while maintaining the order of the non-zero elements.
      Example:
      for move_zeroes([3, 0, 1, 0, 5, 0, 2]) == [3, 1, 5, 2, 0, 0, 0]
      """
      num_non_zeroes = 0
      for num in lst:
          if num != 0:
              num_non_zeroes += 1
    
      new_lst = []
    
      for i in range(len(lst)):
          if lst[i] != 0:
              new_lst.append(lst[i])
    
      for _ in range(len(lst)-num_non_zeroes):
          new_lst.append(0)
    
      return new_lst
output:     num_non_zeroes = 0
      for num in lst:
          if num != 0:
              num_non_zeroes += 1
    
      new_lst = []
    
      for i in range(len(lst)):
          if lst[i] != 0:
              new_lst.append(lst[i])
    
      for _ in range(len(lst)-num_non_zeroes):
          new_lst.append(0)
    
      return new_lst