import random print(" Welcome to your brand new challenge called dice or die game this is not luck based and if you dont get over 8 you die.") play=input("Do you wanna play?") count = 1 answer="y" while answer !="n": dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) print("Your first dice is", dice1) print("And your second dice is", dice2) print("Your number is", dice1+dice2) if dice1+dice2 <8 : print("You Die") elif dice1+dice2 >8 : print("You live") else: print("You get 100 bucks") answer= input("Do you want to play agian?") print("______________________") count = count + 1