Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- x = ("dice1")
- y = ("dice2")
- def dice():
- while x != y:
- x = random.randint(0, 6)
- y = random.randint(0, 6)
- print(x)
- print(y)
- print(x)
- print(y)
- print("Welcome to the Dice Game your goal is to get both dice equal to the same number by rolling the dice")
- print("Rolling Dice Now")
- dice()
- print("Your Dice Are Now of Equal Value!")
- print(x)
- print(y)
- quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement