Python programs operate on objects with explicit input, ownership and failure contracts.
Learning roadmap
This section contains 23 written lessons or quiz banks. Programs are verified on CPython 3.14.6. Standard-library lessons target 3.11+ syntax; lessons using data, web, machine-learning or testing packages state their tested dependencies separately. Framework programs use local test clients, not a deployed service. Read the stated limits before adapting a fixture into an application.
Explained contract banks
Answer the questions and read the explanations alongside their linked lessons.
- Python foundations quiz
- Python collection ownership quiz
- Python runtime and input quiz
- Python algorithm contract quiz
- Python object protocols quiz
- Python data analysis contracts quiz
- Python web application boundaries quiz
- Python storage and request contracts quiz
- Python aggregation and evaluation quiz
- Python range algorithms and test boundaries quiz
- Python language boundary quiz
- Python class and lifetime protocol quiz
- Python API, data and range contract quiz
- Python graph and index state-change quiz
- Python import and distribution contract quiz
- Python application publication quiz
- Python wire and lifetime contracts quiz
- Python service state and measurement quiz
- Python resource lifetime and update contract quiz
- Python evaluation, testing and archive boundary quiz
- Python iteration, tasks and algorithm contract quiz
- Python pairing, storage and search boundary quiz
- Python input, storage and algorithm boundary quiz
Continue learning
Move between tutorial, collections, advanced material and practice using the subject tabs. The sidebar changes with each section; related examples keep one canonical lesson URL.
