2022-02-17から1日間の記事一覧
onlinejudge.u-aizu.ac.jp 解答 from string import ascii_lowercase, ascii_uppercase count = [0]*26 while True: try: sentence = input() except: break for ch in sentence: c = ascii_lowercase.find(ch) if -1 < c: count[c] += 1 c = ascii_uppercas…