THE COURSE
Learn Python
Follow the beginner path, build three small projects, then explore the next steps. Every lesson has a runnable console, a checked task, a quiz, and a video.
Start the course21 results
No matches yet. Try another term or topic.
Python History
Trace Python's beginnings, its name, and the arrival of Python 3.
Hello, World!
Run your first Python statements and recognize how Python displays output.
Variables and Types
Store values in variables and distinguish common Python data types.
Lists
Create a list, access its items, and change its contents.
Basic Operators
Use Python operators to calculate values and compare results.
String Formatting
Build readable text that includes variables and formatted numbers.
Basic String Operations
Read characters and slices from strings and apply common string methods.
Conditions
Choose which code runs using comparisons and if, elif, and else.
Loops
Repeat work with for and while loops and recognize when a loop stops.
Functions
Define reusable code with parameters and return a result.
Classes and Objects
Create a simple class and give each instance its own data.
Dictionaries
Store related values by key and retrieve or update them.
Modules and Packages
Import a module and use a function from Python's standard library.
Input and Output
Understand text input, convert it when needed, and present useful output.
Project: Tip Calculator
Combine functions, arithmetic, and formatted output to split a restaurant bill.
Project: Number Guessing Game
Use comparisons, a function, and a loop to evaluate guesses until the answer is found.
Project: Text Analyzer
Combine string methods, a loop, and a dictionary to summarize a sentence.
Tuples and Sets
Choose a tuple for a fixed group and a set for distinct values.
Exceptions
Catch expected runtime errors and return useful messages without hiding unrelated bugs.
Reading and Writing Files
Write and read a UTF-8 text file with a context manager.
Installing Python and Virtual Environments
Set up a local Python installation and understand how a virtual environment isolates project packages.
Looking for a specific fix?
Search common Python mistakes, compare broken and corrected code, and jump to the matching lesson.
Solve a Python Problem