Programming/Python

[정올] 1430 : 숫자의 개수

pental 2020. 3. 25. 10:54
A = int(input())
B = int(input())
C = int(input())

result = A * B * C
result_list = list(str(result))
for i in range(10):
    result_num_list = result_list.count(str(i))
    print(result_num_list)

https://github.com/kim-do-hyeon/jungol/blob/master/1430/1430.py

 

kim-do-hyeon/jungol

Contribute to kim-do-hyeon/jungol development by creating an account on GitHub.

github.com

 

저작자표시 비영리 (새창열림)