Question: Problem 4 Define a function named round _ mean that accepts an unspecified number of numeric values as arguments and returns the mean of the
Problem
Define a function named roundmean that accepts an unspecified number of numeric values as arguments and returns the mean of the numbers rounded to two decimal places Add a docstring to your function that explains what the function does, how many arguments it accepts, and what it returns. To prove your function works, call it twice and print the returned values in both times. The first time you call the function, pass the numbers and to it The second time you call the function, pass the numbers and to it
:
# Define the function
def rounfmean
: # Call the function, pass the numbers and to it and print out returned value
: # Call the function, pass the numbers to it and print out returned value
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
