Created
July 3, 2017 03:40
-
-
Save davidlivingrooms/758aa9932a455d01ac020b13e5315ea7 to your computer and use it in GitHub Desktop.
python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
min = 1 | |
max = 6 | |
roll_again = "yes" | |
while roll_again == "yes" or roll_again == "y": | |
print "Rolling the dices..." | |
print "The values are...." | |
print random.randint(min, max) | |
print random.randint(min, max) | |
roll_again = raw_input("Roll the dices again?") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment