the 101 family

Home / Apps

In development

ai101: Python and AI, high school and college

ai101 is a course in Python, machine learning and AI for high school and college students, from a first line of code to a model other people can use.

It is still being written. Four courses are planned, 55 lessons in all. The first course, Python, is ready.

Open ai101.us

How a lesson works

Every lesson has code you run and change on the page, with nothing to install. You predict what a piece of code will print, change it towards a goal, and do exercises the page checks.

What else is in it

What is free

Everything built so far is free and open. There are no accounts.

Course 1: Python

The 18 lessons that are ready:

  1. What AI is, and what you will build
  2. First program: print, variables, types
  3. Numbers, operators and input
  4. Decisions: if, elif, else
  5. Loops: for and while
  6. Strings: indexing and slicing
  7. String methods and formatting
  8. Lists: create, index, change
  9. Looping over lists; list operations
  10. Aliasing and cloning
  11. Nested lists: grids and tables
  12. Tuples
  13. Dictionaries
  14. Dictionaries in practice: counting and lookup
  15. Functions: define, call, return
  16. Functions: arguments, scope, small programs
  17. Reading errors and debugging
  18. Project: a quiz game