Last active
September 14, 2018 04:52
-
-
Save 10150042/7fcc44d27cac89214da2859e5378b514 to your computer and use it in GitHub Desktop.
Rolling_the_dices
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 = input("Roll the dices again?") | |
#Update 2018-09-14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment