This Python code prints the number of digits in this list if the list has 100 numbers with 1 digit.
import random
o[]
for b in range(100):
o.append(random.randint(0,9))
print(o)
for d in range(10):
print("The number of",d,"in",b,"is",o.count(d))