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?")
—from Roll the Dice, a other by www.pythonforbeginners.com/
Active since October 3, 2018.
272 total characters in this text.
View Pit Stop page for this text
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 4,166 | 57.15 | October 3, 2018 |