print("-------------------------------------------------------------------") print("Dice Game") import random score = 0 while True: dice1 = random.randint(1,6) dice2 = random.randint(1,6) print("you rolled a", dice1, "and a", dice2) if dice1 == 1 and dice2 == 1: print("Snakes Eyes") score = 0 print("Game Over! Your final score: 0") break score = score + dice1 + dice2 print("Your current score is:", score) roll_again = input("Roll again? (y/n):") if roll_again != "y": print("Game Over! your final socre is:", score) break