Today I Show You How To Make An Roll The Dice.
Script Used In Video: 1 Number
import random
min = 1
max = 6
roll_again = "yes"
while roll_again == "yes" or roll_again == "y":
print "Rolling the dices..."
print "The value are...."
print random.randint(min, max)
roll_again = raw_input("Roll the dices again?")
———————————————————————
Script Used In Video: 2 Numbers
import random
min = 1
max = 6
roll_again = "yes"
while roll_again == "yes" or roll_again == "y":
print "Rolling the dices..."
print "The value are...."
print random.randint(min, max)
print random.randint(min, max)
roll_again = raw_input("Roll the dices again?")
On this page of the site you can watch the video online How To Make An Roll The Dice - Python - Learn Code with a duration of hours minute second in good quality, which was uploaded by the user Dring Desktops 01 June 2019, share the link with friends and acquaintances, this video has already been watched 830 times on youtube and it was liked by 7 viewers. Enjoy your viewing!