randbelow takes one argument

This commit is contained in:
jesopo 2018-10-10 18:12:54 +01:00
parent f286f3bf48
commit 1e25990ce7

View file

@ -285,7 +285,7 @@ class Module(object):
# black, red, odds, evens, high (1-18), low (19-36)
# 1dozen (1-12), 2dozen (13-24), 3dozen (25-36)
# 1column (1,4..34), 2column (2,5..35), 3column (3,6..36)
choice = secrets.randbelow(0, 37)
choice = secrets.randbelow(37)
winnings = {}
losses = {}
if choice == 0: