import random import math bet=1 stake=1 hh=[] xx=0 for gg in range(1,1000): xx=xx+1 hh.append(gg) spin=(random.randint(0, 36)) if spin ==0: print(gg, stake, "OverallGain=",stake*36-xx) if stake*36>xx: break else: stake=stake*2 print(stake)