You are viewing a single comment's thread. Return to all comments →
c = Counter(sorted(input())) for char,freq in c.most_common()[:3]: print(char,freq)
Seems like cookies are disabled on this browser, please enable them to open this website
Company Logo
You are viewing a single comment's thread. Return to all comments →