kostky.py 142 Bytes
Newer Older
Martin Mareš's avatar
Martin Mareš committed
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/python3

import random

N = 1000
pocty = [0]*6

for _ in range(N):
    hod = random.randrange(6)
    pocty[hod] += 1

print(pocty)