import random roll = "y" roll2 = "n" total = 0 while roll == "y" : print ("Game Over. Your final score is",total) print ("Next Roll") dice1 = random.randint (1,6) print (dice1) dice2 = random.randint (1,6) print (dice2) total = total+dice1+dice2 print ("Your score is",total) if dice1+dice2 == 2 : roll = "n" else : roll = input("Roll Again? (y/n)") if roll2 == "n" : print ("Game Over. Your final score is",total)