import random rollnumber = 1 roll = "roll---------------------" dice1 = random.randint(1, 6) dice2 = random.randint(1, 6) sum = dice1 + dice2 print(roll) print("You roll", dice1, "and", dice2) print("Your score is", sum) rollAgain = input("(y/n)?") if rollAgain == "y": rollnumber = rollnumber + 1 print(roll) print("You roll", dice1, "and", dice2) print("Your score is", sum) elif rollAgain == "n": print("Game Over----------------") print("Your final score: ", sum) rollAgain = input("(y/n)?") if rollAgain == "y": rollnumber = rollnumber + 1 print(roll) print("You roll", dice1, "and", dice2) print("Your score is", sum) elif rollAgain == "n": print("Game Over----------------") print("Your final score: ", sum) if rollAgain == "y": rollnumber = rollnumber + 1 print(roll) print("You roll", dice1, "and", dice2) print("Your score is", sum) elif rollAgain == "n": print("Game Over----------------") print("Your final score: ", sum) if rollAgain == "y": rollnumber = rollnumber + 1 print(roll) print("You roll", dice1, "and", dice2) print("Your score is", sum) elif rollAgain == "n": print("Game Over----------------") print("Your final score: ", sum)