Python Quest

Track 3 · Lesson 11 of 11

Project: a shipping and discount rules engine

Build a complete order-quote program for an online shop in five milestones: validation, weight bands, zones, discounts and the final quote.

About 75 minIntermediate5 exercises

You will be able to

  • Translate a written business policy into conditions, one rule at a time
  • Validate input with guard clauses before calculating anything
  • Combine tiers, membership tests, match and logical operators in one program
  • Test a rules engine systematically at every threshold

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.