Question: in python. use user input. question is asking to create a function that generates a random list each time based off how many sides and

in python. use user input. question is asking to create a function that generates a random list each time based off how many sides and how many dice the user wants. once the list is made it needs a function to add the sum of the dice rolled and average of the numbers in python. use user input. question is asking to create a function

Part 4 Create a new function named my_sun that returns the sum of a list of numbers you cannot use the built-in sun() function). Create another function named average that makes use of the sysum function to return the average of a list of numbers. Output the average and the sum of the rolls each time the user rolls a set of dice. Be sure to update the comments at the top of the script, detailing the purpose of the program

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!