import random roll= "y" total = 0 while roll != "n": dice1 = random.randint(1,6) dice2 = random.randint(1,6) print("Roll -------------") if dice1 == 1 and dice2 ==1 : print("you rolled", dice1, "and", dice2) print("SNAKE EYES ") break else: print("you roll", dice1, "and", dice2)