Question: Develop the main() function to call three functions in Python as follows: start() function to prompt user for a positive integer n with error checking
Develop the main() function to call three functions in Python as follows:
- start() function to prompt user for a positive integernwith error checking and meaningful error messages.
- roll() function to roll dice of 1-to-6n
- stat() to generate and report counts and percentage distribution in text.
- Each function should include compact and meaningful doc-string explanation.
- No global nor module-level variable is permitted.
- No NumPy, Pandas, nor any analytical module is permitted.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
