백준-2577번(숫자의 개수)-python
a=int(input())
b=int(input())
c=int(input())
d=a*b*c
e=str(d)
li=[0,0,0,0,0,0,0,0,0,0]
for x in e:
for y in range(10):
if int(x)==y:
li[y]+=1
continue
for _ in li:
print(_)
'알고리즘 > 백준' 카테고리의 다른 글
백준-10871번(X보다 작은수)-python3 (0) | 2023.11.23 |
---|---|
백준-10818번(최소,최대)-python (0) | 2023.11.23 |
백준-2562번(최댓값)-python (0) | 2023.11.23 |
백준-2439번(별찍기-2)-python (0) | 2023.11.23 |
백준-2438번(별찍기-1)-python (0) | 2023.11.23 |