def orderedSet(iterable):
 res = []
 for el in iterable:
  if (el not in res):
   res.append(el)
 return res

def orderedSet ( iterable ) : res = [ ] for el in iterable : if ( el not in res ) : res . append ( el ) return res
remove all duplicates from the input iterable .