def findSingleton(sList):
 count_dict = {}
 single_dict = {}
 for key in sList:
  if (key in count_dict.keys()):
   count_dict[key] += 1
   single_dict.pop(key, None)
  else:
   count_dict[key] = 1
   single_dict[key] = True
 return single_dict.keys()

def findSingleton ( sList ) : count_dict = { } single_dict = { } for key in sList : if ( key in count_dict . keys ( ) ) : count_dict [ key ] += 1 single_dict . pop ( key , None ) else : count_dict [ key ] = 1 single_dict [ key ] = True return single_dict . keys ( )
returns entries that only occured once in list .