import random score = 0 answer = "y" while answer != "n": dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) if dice1 + dice2 != 2: score = score + dice1 + dice2 print("You Rolled A", dice1 + dice2) print("Your score is", score) answer = input("play again? y/n") else: print("Snake Eyes! You Lose") print("Your Final score is", score) answer = "n" score = 0