import random dice1 = random.randint(1,10) dice2 = random.randint(1,10) roll = 1 snkeye = "n" total = 0 while snkeye == "n": print("Roll", roll,"----------------------") print("You roll", dice1, "and", dice2) if dice1 == 1 and dice2 == 1: snkeye = "y" print("SNAKE EYES!") else: total = total + dice1 + dice2 print("Your score:", total) roll +=1 dice1 = random.randint(1,10) dice2 = random.randint(1,10) if snkeye == "n": print("Game Over -------------------") print("Your final score:", total) elif snkeye == "y": print("Game Over -------------------") print("Your final score: 0")