Home › Python with Chai
Learn Python free, the chai way
Learn Python basics while making chai. From variables to while loops, each lesson has a 30-second video and notes.
20 lessons are live. Every lesson has simple English notes and, where it makes sense, code you can run in your browser. Videos are short and in Hinglish. No account is needed.
All 20 lessons
- Chai is a Python program
- Run a function
- if-else: how much sugar?
- Lists: all the flavours in one place
- for loops: try every flavour
- Dictionaries: the chai menu card
- Mini project: the chai bill
- input: ask the customer
- try-except: explain, don't crash
- while True: keep the shop open
- Files: save the bill
- Files: read the bill back
- Modules: the lucky chai
- f-strings: a neat bill
- range(): 10 cups at once
- Default values: less sugar
- Sets: how many customers?
- datetime: shop timing
- Classes: the chai shop
- Finale: you know Python!