Lesson 1: One support ticket, taken apart in Python
16 min read·13 Oct 2026
Module 1 · Lesson 1 · About 50 minutes · Needs: a Colab notebook open (Module 0 shows how). No programming experience.
The situation
Priya, BrightCart's Head of Support, sends you one customer message: "Please refund order 7120, the bulbs are the wrong fitting." She wants the assistant to see it is about a refund, pull out the order number, and look the order up without falling over when the number is wrong.
None of that needs a language model. It needs Python, and every later module is written in the Python in this lesson. One ticket goes through every idea in turn: variable, object, typed record, input to a retrying lookup.