Specialized containers from collections.
Counter(
from collections import Counter def most_common_symbol(symbols): # TODO: Counter(...).most_common(1) pass