Question: Write a function that takes an arbitrary number of arguments when called. In the function body, calculate and return the average of the arguments. If

Write a function that takes an arbitrary number of arguments when called. In the function body, calculate and return the average of the arguments. If the function is called without any arguments return None (the special keyword that is the only value of NoneType). Do not include quotes around None. Call the function twice. One call will include numeric arguments of your choosing and one will have have an empty argument list. Sample calls are listed below.

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 Programming Questions!