[READ-ONLY] Mirror of https://github.com/shuuji3/competitive-programming. 馃洬 Codes submitted to competitive programming platforms
aizu-online-jadge aoj atcoder hackerrank leetcode
0

Configure Feed

Select the types of activity you want to include in your feed.

1from collections import Counter 2import string 3 4counter = Counter() 5while True: 6 try: 7 s = input().lower() 8 counter += Counter(s) 9 except EOFError: 10 break 11 12for c in string.ascii_lowercase: 13 count = counter[c] 14 print(f'{c} : {count}')