What Is a Programming Language?
No code at all. Just the idea that a programming language is a very literal translator — which turns out to explain almost every error message you will ever see.
A programming course for people who have never written a line of code
Most programming tutorials start by having you type something and promising it will make sense later. That works for some people. For everyone else it produces a year of copying code that runs without any idea why.
This series takes the other route. The first three pages are foundations and contain no Python at all — they are about what a programming language is, what a computer is physically doing when it runs one, and how to pick a language in the first place. Once that is in place, the syntax stops being arbitrary and starts being obvious.
Every code cell in this series runs in your browser. Click Run Code, or put your cursor inside a cell and press Cmd+Enter (macOS) or Ctrl+Enter (Windows/Linux). Edit them, break them, run them again — nothing you do here can hurt anything.
Go in order if you are starting fresh. Skip to Lesson 1 if you have written code before and just want Python.
Do not read it like a book. The cells are there because reading about a loop teaches you very little and running one teaches you a lot. When a cell shows you something, change a number in it and run it again to see what breaks. That is the whole method.