import random dice1 = random.randint(1,6) dice2 = random.randint(1,6) finalscore = 0 total = dice1 + dice2 roll = 1 snakeye = 0 rollagain = "y" while snakeye == 0 and rollagain !="n" : print("Roll", roll, "-----------------") dice1 = random.randint(1,6) dice2 = random.randint(1,6) print("You roll", dice1, "and", dice2) total = dice1 + dice2 print("Your total is", total) finalscore = finalscore + total roll = roll + 1 if dice1 == dice2 : snakeye = snakeye + 1 finalscore = 0 if dice1 == dice2 : print("Snake Eyes!!!") if snakeye == 1 : print("") print("Game Over --------------") print("Your Final Score Is", finalscore) rollagain == input("Roll Again y/n") if rollagain == "n" or "N" : print("") print("Game Over --------------") print("Your Final Score Is", finalscore)