input: 
  def removeDuplicates(input):
      final_list = []
      for num in input:
          if num not in final_list:
              final_list.append(num)
      return final_list
  
  # Example usage
  lst = [1, 2, 2, 3, 3, 4]
  print(removeDuplicates(lst))  # Output: [1, 2, 3, 4]
  
output:     return final_list