Home › Courses › Programming & CS Foundations

Programming & CS Foundations

How to think like a programmer, from zero, before any AI or math content

8 phases. 32 lessons. 26 labs. 1 capstone. It starts before any Python, with what a computer does when it runs your code. Then real Python from variables to classes, the data structures and algorithms every later course assumes, testing and code quality, and a small tool you design and build yourself. No programming or CS background needed.

Learn Python for AI and machine learning

Start with functions, lists, dictionaries, and files. Then write and test a command-line tool before moving on to models.

8 phases · 32 lessons · 26 labs · 1 capstone

No earlier course is needed.

What you finish with

Curriculum

Tools

Python · pytest · ruff

Common questions

I have never written a line of code. Is this for me?

Yes. Phase 1 starts before any Python, with what a computer is doing when it runs your code. The first lessons run in your browser, so there is nothing to install.

Do I need this before the AI courses?

Not if you already write Python comfortably: functions, loops, classes, reading a traceback. Then go straight to ML & AI Engineering. This course is for people who can't do those yet.

How is it different from a general Python course?

It stops where the AI courses start. The data structures, the testing habits and the timing-based view of algorithms it teaches are the ones those courses assume you already have.

Continue your learning path

Engineering Practices & Tooling · Quantitative Foundations · Data Analysis & Visualization · ML & AI Engineering

Start the Programming & CS Foundations course

Create a free account — the opening phases of 29 of 35 courses, and the first lesson of every phase, are free, no credit card. Or see Pro pricing.

All courses · Pricing · About · FAQ · Glossary · Projects by topic