minibatch

Python · data · machine learning · AI

Don't just use AI. Understand it.

Learn Python in short lessons, about 9 minutes each, then put it to work: analyze data with pandas and SQL, train models with scikit-learn, see how language models work inside, and build apps on top of them.

Start learning

Three quick questions, then your first lesson. Nothing to install.

Try lesson 1
lessons
140
courses
11
practice exercises
305
a lesson
9 min

Try a lesson right here

⚡ 0 XP

Python · lesson 3

What does this print?

word = "pizza"
print(word[0])
print(word[-1])

Three paths to a real skill

Compare the paths

More than lessons

Everything around the lessons is built to make the skill stick, and to show what you can do.

How it works

  1. Pick your goal

    Three quick questions set your daily pace and where you start, from your first line or further in.

  2. Tap through a lesson

    About 9 minutes, one question per screen, with a reason for every answer and the code running beside it.

  3. Build real things

    Every course ends in a project you write yourself, from a word counter to a help-desk bot. They all land in your portfolio.

Every idea is something you can play with

Watch code run line by line. Drag a line until it fits. Pick a learning rate and train a model. These are the real pieces of the lessons, working right here.

Every lesson shows its code running, one line at a time, with each variable in its own box.

  1. total = 0
  2. for n in [4, 6, 5]:
  3. total = total + n
  4. print(total)

Variables

None yet

Printed

Nothing yet
Step 1 of 9. Line 1 runs next.

11 courses, one path

See every lesson

Questions

Is it really free?

Yes. Today all 140 lessons are free to play, and Python Foundations and the Model Lab will stay free for good.

Do I need an account?

No. Open a lesson and start. Your progress, XP and streak are saved in this browser on this device.

Do I need to know any math or code?

No. Lesson 1 starts at the very first line of Python. The machine learning lessons use only adding, multiplying and averages, and every idea is shown as a picture first.

What will I learn?

Python from the first line, then data with NumPy, pandas, charts and SQL. Machine learning by hand and with scikit-learn. How language models work inside, and how to build apps on top of them: prompts, search, retrieval, tools and agents. Plus algorithms and data structures for interviews.

Does it work on my phone?

Yes. Every lesson, picture and code editor is built for a phone screen, and works on a computer too. Python runs right in the page, so there's nothing to install.

How long does it take?

About 9 minutes each, a little more for projects. A lesson a day gets you from your first print to a small neural network in about 20 weeks.

Do I get a certificate?

Yes. Finish a course's lessons, then pass its final challenge: ten questions from across the course. Your certificate has your name, the date and an ID, and adds to LinkedIn in one tap.

Is there practice beyond the lessons?

Yes. Every course has practice packs, hundreds of exercises where you write code, fix bugs and predict output. There's a daily challenge too, and review brings back the ideas you found hard.

What if I miss a day?

You get one streak freeze a week. If you miss a day, it covers it on its own and your streak carries on when you come back.

What if I change phone or clear my browser?

Progress lives on the device for now, so save a backup file from Settings now and then. Restoring it on another device carries everything over.

Start with three quick questions

Then your first lesson, about 9 minutes. Free, with nothing to install.

Start free