import random score=0 choice = "y" while choice == "y": dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) score = dice1 + dice2 + score print("you roll", dice1, "and", dice2) print("your score is", score) print("your total score is", score) if dice1 + dice2 == 2: print("snake eyes game over") print("your final score is", dice1 + dice2 + score) choice = input("play again yes or no") score = 0 else : print("your score is", dice1 + dice2) choice = input("roll again yes or no ")