# fair game pick 3 as weird bank
import random
def withdraw(amt=500):
history = []
while sum(history)<amt:
while random.randint(0, 1000) != 1:
history.append(-1)
history.append(999)
print(len(history), history)
while True:
withdraw()
So EV for this game is 1, but sometimes you don't end up $500 a head for 100,000 iterations. Sometimes it just hangs.
♡ 0 ↻ 0