The mountain › Level 1 of 5
Base Camp
Start from zero. Learn to think in code with Python.
Try 5 free lessonsLessons 0, 1, 2, 3, 4. No login, no payment.
What you will be able to do
- Read and write Python programs on your own
- Use variables, decisions, loops, lists, dictionaries and functions
- Predict what code does before you run it, and fix it when it breaks
- Build a text adventure or an expense tracker from a blank screen
What is inside
41 lessons in 4 units. Lessons 0, 1, 2, 3, 4 are free for everyone. The rest, the test and the boss projects are for students who buy the level.
Unit 1: First steps · lessons 0-8
Run your first program, then store, change and print information.
See the 9 lessons
- Why learn to code when AI can write it?FREE
- What is code?FREE
- print(): showing things on the screenFREE
- Variables: boxes with namesFREE
- Numbers and mathsFREE
- Strings: working with text
- input(): asking the user
- Types and conversion
- Reading error messages
Unit 2: Decisions and loops · lessons 9-18
Make programs choose and repeat. This is where code starts to feel powerful.
See the 10 lessons
- Booleans and comparisons
- if and else
- elif chains
- and, or, not
- while loops
- for loops and range
- break and continue
- Nested loops
- Loop patterns
- Mini game: guess the number
Unit 3: Collections · lessons 19-28
Lists, dictionaries and tuples: working with many values at once.
See the 10 lessons
- Lists
- List methods
- Slicing and copying
- Tuples
- Dictionaries
- Looping over dictionaries
- Sets
- Nested data
- Strings in depth
- List comprehensions
Unit 4: Functions and beyond · lessons 29-40
Functions, files, errors and your first small programs.
See the 12 lessons
- Functions
- Parameters and defaults
- return vs print
- Scope
- Recursion and the call stack
- Errors and try/except
- Modules and imports
- Files
- Classes and objects
- Attributes and methods
- Searching and sorting
- Debugging like a pro
How every lesson works
- WatchA short animated figure shows the idea.
- PredictGuess what the code prints before you run it.
- PlayChange the code and see what happens.
- FixFind the bug in broken code.
- BuildWrite it yourself. Automatic checks tell you what works.
- RecallOne question to lock it in.
How you clear this level
Pass the test25 questions. You need 75% to pass. It opens after you finish all 41 lessons, and you get a limited number of attempts (normally 1), so revise first.
Build 1 of the 2 boss projectsText adventure: the cellar key and Expense tracker. It opens after the last lesson. Automatic checks run your program and tell you what works, and each project has a limited number of attempts (normally 1).
Earn your certificateBoth done: you get the certificate. Web Builder is the next stop when you want it.
Good to know
- Python downloads once the first time you run code, so you need internet then.
- Your progress is saved to your account, so you can continue on another phone or laptop.
- One account works on up to 2 devices.