Question: Python question Write a function that takes a list of numbers and returns the average of the values in the list. Also write a main,
Python question
Write a function that takes a list of numbers and returns the average of the values in the list.
Also write a main, that calls you function and returns the average. Your main should print both the list and the average returned by the function.
Your output should look like the line below, the values you use could differ:
The average of [12.1, 12.5, 12.9] is 12.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
