import random play = "yes" total=0 while play != "no" : dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) if dice1+dice2!=2: total=total+dice1+dice2 print(total) play = input( " Would you like to play again? " ) else: print("SNAKE EYES!!!") play = "no"