import random answer = "y" number = 1 score = 0 game="sigma" dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) while answer != "n" : while dice1 and dice2 != 1 : if answer != "n": message = f"Roll {number} -----------------" print (message) number = number + 1 print(dice1, dice2) score = score + dice1 + dice2 message1= f"your score is {score}" print(message1) dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) answer=input("play game again (y/n)? ") else : message4= f"\nGame Over -------------- \n Your final score is {score}" print(message4) score = 0 message = f"Roll {number} -----------------" print(message, "\n You roll 1 and 1 \n Snake eyes!!!") message3 = f"\nGame Over -------------- \n Your final score is {score}" print(message3) answer="n"