Find the most common element in a list October 9, 2022 by Tarik A simpler one-liner: def most_common(lst): return max(set(lst), key=lst.count)