Programming Basics: Start Here
Your gentle on-ramp to programming. No experience needed. You'll learn what code and computers actually do, what a programming language is, and the core ideas every programmer uses every day: variables, sequence, input and output, decisions, and loops. By
A concept-first introduction for people who have never written a single line of code. We skip the jargon and explain the big ideas in everyday language with tiny, friendly examples. You'll finish understanding how programs think, and you'll run real Python for the first time. This is the perfect place to begin before picking any specific language.
What Programming Really Is
Demystify the basics: what a program is, what a computer actually does, and what we mean by 'code'. No experience needed — just curiosity.
- 1 Welcome: What Is a Program? A program is just a set of instructions. You already write them every day.
- 2 What a Computer Actually Does Underneath everything, a computer is a very fast, very obedient follower of simple steps.
- 3 What Is 'Code'? Code is just instructions written down in a way the computer can follow.
Languages, Variables, and Memory
Discover what a programming language is, and meet the first true building block of every program: the variable — a labeled box for storing information.
- 4 What Is a Programming Language? A programming language is just an agreed-upon way to write instructions a computer can understand.
- 5 Variables: Labeled Boxes for Information A variable is a name you give to a piece of information so you can store it and use it later.
- 6 Different Kinds of Information Words, numbers, and yes/no values — computers treat different types of data differently.
Instructions, Input, and Output
See how programs run step by step in order, and how they talk to the outside world by taking in information and giving results back.
- 7 Sequence: One Step at a Time Programs run from top to bottom, in order. The order is everything.
- 8 Input and Output: Talking to the World Input is information going into a program. Output is what the program gives back.
- 9 Decisions: Making Choices with 'If' Programs can choose between paths by checking whether something is true.
Repetition and Your First Real Code
Learn how programs repeat work with loops, see how all the pieces fit together, then run your very first lines of real Python.
- 10 Loops: Repeating Work Without Repeating Yourself A loop lets a program do the same steps many times — that's where computers truly shine.
- 11 Putting the Pieces Together See how variables, sequence, decisions, and loops combine into one small, understandable program.
- 12 Your First Real Code Time to run actual Python. One line. You've got this.
- 13 Experiment, and Where to Go Next Run a few friendly lines, then celebrate — you're officially a programmer now.