import random roll = 1 score = 0 play = "y" while play == "y": dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) print( "Roll", roll, "-----------------" ) print( "You roll", dice1, "and", dice2 ) score = score + dice1 + dice2 roll = roll + 1 if dice1 + dice2 == 2: print( "Snake eyes!!!" ) score = 0 break else: print( "Your score is", score ) play = input( "Roll again? (y/n): ") print( " " ) print( " " ) print("Game Over --------------") print("Your final score:", score)