python-cheatsheet
python-cheatsheet copied to clipboard
update the way to use Counter.most_common()
useCounter.most_common(n)to show reader this method can accpet parameter n to return a list of top n elements in counter
ref
Nice one