Python Quest

Track 17 · Lesson 2 of 12

Project: gradebook analyzer

Build a gradebook for a teacher: averages, letter grades, class statistics, a fair ranking with ties, missing work and an aligned report, one function at a time.

About 80 minBeginner6 exercises

You will be able to

  • Break a requirements brief into small functions that each do one job and return a value
  • Store records in a dictionary of lists and process them with loops and sorting keys
  • Treat boundary values, empty lists and missing data as explicit requirements
  • Rank records fairly, including ties, with a sort key and a single pass
  • Combine earlier functions into a formatted report without repeating their logic

Included with a Formula Quest membership

It has 6 graded exercises with feedback, hints and solutions. Python Quest is included in Formula Quest memberships that cover Python; membership and billing are managed on Formula Quest.

View Formula Quest memberships

Tracks 1 and 2, the first lesson of every track, the playground and the dataset library are free.