Given a dataset, write a function to calculate the average value.
Implement average_value(values), where values is a non-empty list of integers or floating-point numbers. Return the arithmetic mean as a number.
average_value(values)
values
def average_value(values):
Your question is Average Value Function. Start with the requirements in the Question tab.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.