import random count = 0 score = 0 rollagain = "y" while rollagain == "y" : count = count + 1 print("roll", count, "-----------------" ) dice1 = random.randint(1, 6) dice2 = random.randint(1, 6) score = score+dice1+dice2 print("You roll", dice1, "and", dice2) if dice1 + dice2 != 2: print("your score is", score) print() rollagain = input("Roll again (y/n)? ") print() else: print("snake eyes") print() score = 0 rollagain = "no" print() print("Game Over --------------") print("your final score", score)