Python Quest

Track 4 · Lesson 11 of 11

Mini project: a sales tally

Build a till-side sales tally step by step — totals, skipped entries, the largest sale, a bar chart and a multi-day report — while tracing loop state to find bugs.

About 60 minIntermediate5 exercises

You will be able to

  • Plan a loop program by deciding its input, its accumulators and its output
  • Grow a program in small milestones, testing each before moving on
  • Trace loop state with a table or debug prints to find a bug
  • Combine sentinel loops, continue, best-so-far and nested loops in one program

Included with a Formula Quest membership

It has 5 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.