Skip to content

Instantly share code, notes, and snippets.

@10150042
Last active September 14, 2018 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 10150042/7fcc44d27cac89214da2859e5378b514 to your computer and use it in GitHub Desktop.
Save 10150042/7fcc44d27cac89214da2859e5378b514 to your computer and use it in GitHub Desktop.
Rolling_the_dices
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