Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Edit the rollDice ( ) function. a . The code in the template file asks the user to enter values for the dice.
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started