import random rollcount = 1 morestuff = rollcount score = 0 erowpioiwp = input ("Press any key to continue ") print ("Roll",rollcount , "-----------------") dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) score = ( score + dice1 + dice2) print ("You roll " ,dice1 ,"and" ,dice2) print ("your score is " ,score) again = input("Roll again (y/n)? ") if again == "y" : while dice1 + dice2 > 2: rollcount = morestuff + 1 morestuff = rollcount print ("nice") else: this_score = dice1 + dice2 snake_eyes = False