input: 
  # Program to remove duplicate elements while preserving the original order
  
  def remove_duplicates(nums: List[int]) -> List[int]:
      new_list = []
      for num in nums:
          if num not in new_list:
              new_list.append(num)
      return new_list
  
  # Main program
  nums = [1, 3, 3, 5, 5, 7]
  dedup_nums = remove_duplicates(nums)
  print(dedup_nums) # [1, 3, 5, 7]
  
output:     seen = set()
      for num in nums:
          if num not in seen:
              new_list.append(num)
              seen.add(num)
      return new_list