You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': s = sorted(input()) characters = Counter(s).most_common(3) for i in characters: print(f'{i[0]} {i[1]}')
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 →