import random play = "Yes" while play == "Yes" : dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) print ( "-----------Game Over-----------" ) print ( "Your Final Score:" ) print ( dice1 + dice2 ) play = input( "Would you like to play a game?" )