Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- one = 0
- two = 0
- three = 0
- four = 0
- five = 0
- six = 0
- for i in range(100000):
- dice = random.randint(1,6)
- if dice == 1:
- one += 1
- elif dice == 2:
- two += 1
- elif dice == 3:
- three += 1
- elif dice == 4:
- four += 1
- elif dice == 5:
- five += 1
- elif dice == 6:
- six += 1
- print(dice)
- print(one)
- print(two)
- print(three)
- print(four)
- print(five)
- print(six)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement