Questions from the 10 lessons of this module, at every level, with the working shown after each answer.
Lessons covered: Python Fundamentals: Types, Collections, and Control Flow, Python Functions, Modules, and Packaging, Python Classes, Dataclasses, and Protocols, Python for Files: Paths, JSON, CSV, and Regex, Python Errors, Logging, and Command-Line Tools, Python subprocess and System Automation, The Python Standard Library Toolbox, Python for APIs: HTTP, Cloud SDKs, Retries, and Concurrency, Python Packages for DevOps, Python Testing, Typing, and Shipping Tools.
Each attempt draws new questions: authored questions, questions built from each lesson's scenarios, failure modes, and lab, and calculations with fresh numbers. Choose the level and the length; your results stay in this browser. Answers and explanations appear after you submit each one.
Loading questions… (this page needs JavaScript)