Last updated
Was this helpful?
You received a list of users from an API that contains the user's ages.
You have mapped to the age attribute of the user dictionaries and would like to calculate the average of the new list of integers to get the average age of the users.
Returns the average, or arithmetic mean, of a list of numbers.
List
List to average
Result of example:
Last updated
Was this helpful?
Was this helpful?
5