import random play="y" roll=1 score=0 while play=="y" dice1 = random.randint (1, 6) dice2 = random.randint (1, 6) print() print ("Roll", roll, "------------") print ("You Roll", dice1, "and", dice2) score= score + dice1 + dice2 if dice1==1 and dice2==1: print("SNAKE EYES") score=0 print("GAME OVER -------") print("your final score:", score) play="n" else: print("Your score is:", score) play=input("Roll again (y/n)?") if play =="n" print() print("GAME OVER -------") roll = roll + 1