Question: Joseph Hosang Lab 7: Functions Part 1 Create a new script, and add the following at the top of the file; import randon Create a
Joseph Hosang Lab 7: Functions Part 1 Create a new script, and add the following at the top of the file; import randon Create a function named roll die that returns a random integer between 1 and 6 emulating a six-sided die you will need to make use of the randon.randint function) Design and implement a program that allows the user to roll a die as many times as they wish, outputting the result of the roll each time. Stop the program after the user does not wish to rollarly more dice
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
