6
An easier (and more efficient) way of doing this is with a Counter object: from collections import Counter singlet = Counter(nums).most_common()[-1][0] The Counter object will create a dictionary-like object with the keys being the values in your list and the values being the number of time...