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.
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
- Course 1, Python: beginner, 18 lessons, ready.
- Course 2, Data and machine learning: beginner, 14 lessons, being written.
- Course 3, Deep learning and language models: intermediate, 14 lessons, being written.
- Course 4, Deploying AI: advanced, 9 lessons, being written.
What is free
Everything built so far is free and open. There are no accounts.
Course 1: Python
The 18 lessons that are ready:
- What AI is, and what you will build
- First program: print, variables, types
- Numbers, operators and input
- Decisions: if, elif, else
- Loops: for and while
- Strings: indexing and slicing
- String methods and formatting
- Lists: create, index, change
- Looping over lists; list operations
- Aliasing and cloning
- Nested lists: grids and tables
- Tuples
- Dictionaries
- Dictionaries in practice: counting and lookup
- Functions: define, call, return
- Functions: arguments, scope, small programs
- Reading errors and debugging
- Project: a quiz game