Algorithm알파벳 개수problem number: 10808link: https://www.acmicpc.net/problem/10808Define input, outputInput: 소문자로 이루어진 단어 SOutput: 각 소문자별 count설명source code1 2 3 4 5 6 7 8 import sys from collections import Counter S = sys.stdin.readline() S = Counter(S) answer = [str(S.get(chr(c), 0)) for c in range(ord("a"), ord("z") + 1)] print(" ".join(answer))