import random score = 0 again = "y" while again == "y": dice1 = random.randint(1, 6) dice2 = random.randint(1, 6) print("You roll", dice1, "and", dice2) if dice1 + dice2 > 2: score = score + dice1 + dice2 print("your score is", score) print() again = input("roll again (y/n)?" ) else: print("snake eyes") score = 0 again = "n" print() print("game over") print("your final score", score)