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.

Start lesson 1All courses

All 20 lessons

  1. Chai is a Python program
  2. Run a function
  3. if-else: how much sugar?
  4. Lists: all the flavours in one place
  5. for loops: try every flavour
  6. Dictionaries: the chai menu card
  7. Mini project: the chai bill
  8. input: ask the customer
  9. try-except: explain, don't crash
  10. while True: keep the shop open
  11. Files: save the bill
  12. Files: read the bill back
  13. Modules: the lucky chai
  14. f-strings: a neat bill
  15. range(): 10 cups at once
  16. Default values: less sugar
  17. Sets: how many customers?
  18. datetime: shop timing
  19. Classes: the chai shop
  20. Finale: you know Python!