Beginner Python
Start at the very beginning and build the foundations needed to read, write, and debug small Python programs. The path moves in short, focused steps from syntax and values through collections, control flow, functions, files, and code quality.
- Blocks
- 83
- Sections
- 16
- Format
- Self-paced
Build a complete Python foundation
- Write and understand small Python programs
- Control program flow with conditions and loops
- Work confidently with text, collections, and files
- Organize code with functions and debug common errors
What’s inside the box
Focused sections take you from your first statement to reading, organizing, and debugging real Python code.
-
1. First Code & Early Errors
5 disksWrite your first lines of Python, use print(), add comments, and learn to recognize early errors.
-
2. Values & Variables
9 disksUnderstand values, variables, number types, arithmetic, and the difference between expressions and statements.
-
3. Strings & Text
8 disksCreate, combine, inspect, and slice text while learning Python's most useful string tools.
-
4. Input & Conversion
2 disksRead input from a user and convert it into the data types your program needs.
-
5. Booleans & Logic
4 disksMake decisions with Boolean values, comparisons, logical operators, and truthy or falsy data.
-
6. Branching
6 disksGuide program flow with if, elif, else, nested conditions, and input validation.
-
7. List Basics
4 disksStore ordered collections in lists and retrieve individual items or slices.
-
8. Loops I: for Loops & Loop Patterns
5 disksRepeat work with for loops, range(), break, continue, and accumulator patterns.
-
9. Lists: Mutation & Building Patterns
4 disksChange, copy, build, sort, and combine lists without being surprised by mutation.
-
10. Loops II: while Loops
2 disksUse while loops for condition-driven repetition, validation, menus, and sentinel values.
-
11. Dictionaries, Tuples & Sets
7 disksChoose and use dictionaries, tuples, and sets, including nested data and safe lookups.
-
12. Functions
8 disksTurn repeated logic into reusable functions with parameters, return values, scope, and docstrings.
-
13. Modules & Imports
4 disksOrganize code with modules, imports, the standard library, and your own reusable files.
-
14. Files & Data
6 disksWork with file paths, read and write text files, and read tabular CSV data.
-
15. Errors, Validation & Debugging
5 disksRecognize and handle exceptions, validate input, and debug programs systematically.
-
16. Code Style & Habits
4 disksWrite readable Python, follow common style conventions, document intent, and understand unfamiliar code.