Python

Grade Calculator

Capstone Challenge 1: Grade Calculator

Create a function calculate_average(scores) that:

  • Takes a list of scores
  • Returns the average

Then use it to calculate and print the average of [85, 90, 78, 92, 88].

script.py
Loading PYTHON engine...
Downloading Python… (one-time, ~10 MB)

Downloading Python… (one-time, ~10 MB)

This runs entirely in your browser and is cached for next time.