Search⌘ K

Challenge 3: Averaging Values in a List

Explore how to create a Python list and calculate the average of its numeric values. This lesson guides you through using list data structures and simple arithmetic operations to evaluate averages, helping you strengthen your practical Python skills.

Problem Statement

Given a getAverage() function, create a list named l with the following values:

[1, 4, 9, 10, ...