import random
one=[0,0,0,0,0,0,0,0,0,0]
check=(0)
maxcount=(0)
nb=(0)
for i in range(100):
computer=random.randint(1,10)
one[computer-1] += 1
for a in range(10):
if maxcount < one[check]:
maxcount=one[check]
nb=check+1
check += 1
print("가장 많이 나온 숫자는 ",nb,"야")
print(nb,"은 ",maxcount,"번 나왔어")
To embed this project on your website, copy the following code and paste it into your website's HTML: