Question 1 of 205%
Functions, Tuples, Dictionaries and Exceptionseasy

A developer writes a function to calculate the average of a list of numbers, but the function sometimes returns a wrong result when the list contains non-numeric values. What is the best way to handle this?

Select one: