Something
public python v1 · immutablewhile True: stake = X while not bet_won: bet(stake) if bet_lost: stake *= 2 print "Current bet:", bet_value funds += bet_valueprint "Total won:", fundswhile True: stake = X while not bet_won: bet(stake) if bet_lost: stake *= 2 print "Current bet:", bet_value funds += bet_valueprint "Total won:", funds