import random def roll_dice(): this_score = 0 roll1 = random.randint(1,6) roll2 = random.randint(1,6) print("This first die rolled was ", roll1, ".") print("This second die rolled was ", roll2, ".") if roll1 == 1 and roll2 == 1: this_score = 0 snake_eyes = True print("Game Over") elif roll1 == 1 or roll2 == 1: this_score = 0 snake_eyes = False else: this_score = roll1 + roll2 snake_eyes = False print("The score for this roll is ", this_score, ".") return roll1, roll2, this_score, snake_eyes play1_tot_score = 0 play2_tot_score = 0 roll_two_dice1 = "y" roll_two_dice2 = "y" input("")