백준 21567번: 숫자의 개수 2 #Python

ColorlessDia·2024년 9월 27일

algorithm/baekjoon

목록 보기
313/836
number_count = [0] * 10
total = 1

for i in range(3):
    total *= int(input())

for j in str(total):
    number_count[int(j)] += 1

for number in number_count:
    print(number)

0개의 댓글