Guest User

Untitled

a guest
Feb 18th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from random import *
  2. var="A"
  3. while "No" not in var:
  4. var = input("Do you want to roll the dice?:\n ")
  5. if "Yes" in var or "yes" in var:
  6. print(randint(1,6))
  7. if "no" in var or "No" in var:
  8. exit()
Add Comment
Please, Sign In to add comment