본문 바로가기

Programming [Python]/백준 알고리즘 솔루션

#35 백준 파이썬 [2577] 숫자의 개수

#35 백준[2577] 숫자의 개수



https://www.acmicpc.net/problem/2577



#Solution


a = int(input())
b = int(input())
c = int(input())

k = a*b*c
k_list = list(str(k))
for i in range(10):
k_num_count = k_list.count(str(i))
print(k_num_count)