Meet Python
Meet Python, run a first tiny program, and discover what you can create before beginning Variables.
Start learning
Python Foundations
Build the essential mental models for writing Python.
Python Foundations
Meet Python, run a first tiny program, and discover what you can create before beginning Variables.
Start learningName values so Python programs can store and reuse information.
Understand the kinds of values Python can work with and how they behave.
Combine, compare, and transform values with Python operators.
Make programs choose a path with if, elif, and else statements.
Repeat useful work with for and while loops.
Store several ordered values in one mutable Python collection.
Access individual list items and extract ordered parts of a list.
Add, remove, inspect, and update values in a Python list.
Store ordered values that cannot be replaced after creation.
Store unique values without relying on a fixed position.
Organize values as unique key and value pairs.
Use loops to visit values in Python collections.
Access structured data stored inside lists and dictionaries.
Select a Python collection that fits the data and task.
Define and call reusable blocks of Python code.
Pass different values into a function.
Return a result from a function to use later.
Understand where Python variables are available.
Clean, transform, and split text with Python string methods.
Read and write temporary text files in the Python environment.
Convert structured JSON text to and from Python data.
Handle expected runtime errors with try and except.