Python source code pls? would be good
chance = float(raw_input("Input the Chance of Losing 0-100% ")) / 100
tries = int(raw_input("Input tries "))
btc = float(raw_input("Input Amount of Bitcoins you wish to gamble "))
house_edge = float(raw_input("Input the House edge 0-100% ")) / 100
chance += house_edge
def primedicecalculator(chance,tries,btc):
EV = pow(chance,tries)
total = 0.0
for x in range(0,tries):
lost = btc * 2
total += float(lost)
print "The chance of a %d losing streak is %f%%" % (tries,EV * 100)
print "That means %f in 100 tries or %f in 1000 tries" % (EV * 100,EV * 1000)
print "[MartinGale]Amount of BTC that has to be gambled to win back from the loss spree %f " % (total)
primedicecalculator(chance,tries,btc)