Skip to main content
k
ktomm
Python 3
JavaScript
# Python 3 runs in your browser (Pyodide). Ctrl/Cmd+Enter runs it. from collections import Counter words = "the quick brown fox jumps over the lazy dog the end".split() for word, count in Counter(words).most_common(3): print(f"{word:>6}: {count}")
▶ Run
Stop
Download
Sign in to save
Sign in
Console
Clear