CourseAI Engineering: The Complete Course · Module 1: Programming Foundations · part 9 of 105
Part 9 · Module 1: Programming Foundations

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.

The rest of this course is yours to keep

This course is bought on its own, once, and stays readable afterwards, including the parts added to it later.