t400.py 130 B

123456789
  1. import random
  2. random.seed(0)
  3. lst = [0,0,0,0,0]
  4. for i in range(1000):
  5. lst[random.randint(0,4)] += 1
  6. print lst
  7. print sum(lst)