randbelow takes one argument
This commit is contained in:
parent
f286f3bf48
commit
1e25990ce7
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ class Module(object):
|
||||||
# black, red, odds, evens, high (1-18), low (19-36)
|
# black, red, odds, evens, high (1-18), low (19-36)
|
||||||
# 1dozen (1-12), 2dozen (13-24), 3dozen (25-36)
|
# 1dozen (1-12), 2dozen (13-24), 3dozen (25-36)
|
||||||
# 1column (1,4..34), 2column (2,5..35), 3column (3,6..36)
|
# 1column (1,4..34), 2column (2,5..35), 3column (3,6..36)
|
||||||
choice = secrets.randbelow(0, 37)
|
choice = secrets.randbelow(37)
|
||||||
winnings = {}
|
winnings = {}
|
||||||
losses = {}
|
losses = {}
|
||||||
if choice == 0:
|
if choice == 0:
|
||||||
|
|
Loading…
Reference in a new issue