Advertisement
182days

Dice Roller

May 10th, 2016
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. #digital dice
  2.  
  3. import random
  4. import time
  5. go = input("Press enter to roll two dice")
  6. time.sleep (1)
  7. print ("Rolling the first dice!")
  8. time.sleep (1)
  9. dice1 = random.randint(1, 6)
  10. time.sleep (1)
  11. print ("Rolling the second dice!")
  12. dice2 = random.randint(1, 6)
  13. time.sleep (1)
  14. print ("You rolled a", dice1, "and a", dice2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement