generated from mwc/lab_dice
I changed some code such as rolls and other things..
This commit is contained in:
@@ -20,8 +20,8 @@ class FiveDice:
|
||||
return True
|
||||
|
||||
dice = FiveDice()
|
||||
successes = 0
|
||||
trials = 1000000
|
||||
successes = 3
|
||||
trials = 10
|
||||
for trial in tqdm(range(trials)):
|
||||
dice.roll()
|
||||
if dice.all_ones():
|
||||
|
||||
Reference in New Issue
Block a user