Question: Edit the rollDice ( ) function. a . The code in the template file asks the user to enter values for the dice. Change this

Edit the rollDice() function.
a. The code in the template file asks the user to enter values for the dice. Change this to be
automatically randomized between the numbers 1-6 to represent an actual dice.
b. You will have to import the random module and find the appropriate function in the
random module to achieve this.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!