input: 
  def removeDuplicates(input): 
      final_list = [] 
      for num in input: 
          if num not in final_list: 
              final_list.append(num) 
      return final_list
  
  # Test cases
  print(removeDuplicates([1, 2, 2, 3, 3, 4]))  # [1, 2, 3, 4]
  print(removeDuplicates(['a', 'a', 'b', 'c', 'c']))  # ['a', 'b', 'c']
  print(removeDuplicates([1.0, 1.0, 2.0, 3.0, 3.0]))  # [1.0, 2.0, 3.0]
  
output:     return final_list