Search⌘ K
AI Features

Exercise: Average of a List

Explore how to write a Python function to compute the average of a list of numbers. This lesson helps you apply core Python concepts like loops, indexing, and lists to solve a practical programming challenge, reinforcing foundational skills.

Problem Statement

In this challenge, you must implement the average() function. It takes a list as a parameter and calculates the ...