import random print("Snake Eyes") print("--------------") player1=(input("Player 1 Type y to Roll --> ")) score = 0 while player1 == "y": dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) print("Rolling...") print(dice1) print(dice2) print("Score = ", score + (dice1 + dice2)) score = dice1 + dice2 + score if dice1 == dice2: print("Snake Eyes") print(score) else : input("Would you like to roll again? ---> " )