import random rollcount = 0 rollstuff = 0 score = 0 stuff = 0 for number in range( 1, 100000000000000000000000 ) : choice = input("Do you want to continue with snake eyes? y/n ") if choice == "y" : roll1 = random.randint( 1, 6 ) roll2 = random.randint( 1, 6 ) rollcount = rollstuff + 1 rollstuff = rollcount print ("Roll ", rollcount) print ("-----------------------------------") print ("You roll ", roll1, "and", roll2) if roll1 == 1 and roll2 == 1: print ("Snake Eyes") print ("Game Over") print ("Your score was ", score) break else : score = stuff + roll1 + roll2 stuff = score if choice == "n" : print ("Very well then...") print ("Your score was ", score) break