white board: find the first non-recurring character in a string. i.e. input "abbcdcaea" would return "d"
Sigiloso
def non_rec(string): if type(string) == str: continue else: print “Input is not of type: String” Uniques = [] for letter in string: if letter in uniques: uniques.remove(letter) break else: Uniques.append(letter) return uniques[0]