MODULE 01
ADVANCED PROGRAMMING • COLLEGE-LEVEL PRACTICE
Python Programming Bakery
Write real Python code. Solve realistic software problems. Run automated tests, explain edge cases, and build a capstone order-fulfillment engine.
How this college lab works
Choose an assignment, read the specification, write your solution in the editor, and press Check assignment. The tests check actual Python behavior—including edge cases, error handling, and input immutability. Run Python simply executes your program so you can inspect printed output.
Real Python, not simulated: A version-pinned Pyodide Python interpreter runs in a separate browser worker. The initial download needs internet access. The activities never submit your code or progress to Presley's Digital Kitchen, and completion is saved only in your browser if storage is enabled. This is educational practice, not a college accreditation or certification.
REAL PYTHON • PROGRAMMING WORKBENCH
Your code
Write or replace the starter solution. Make your own print() calls when you want output. Press Check assignment to test correctness.
Not passed yet.
Python output / traceback
Ready.
Automated checks
Help without giving away the answer
Hints are optional.
What makes these college-level?
The lab focuses on correctness, complexity, abstraction, precision, validation, design contracts, and defensive programming—not choosing answers from a quiz. The later assignments involve dynamic programming, Dijkstra's shortest path, binary protocols, and an atomic transaction-style capstone. You can revisit any lab and refine your implementation.
Runtime notes: The interpreter is downloaded from the pinned jsDelivr Pyodide CDN. Execution is stopped after eight seconds to avoid endless loops. This lightweight browser lab supports the Python standard library provided by Pyodide, not the full set of locally installed PC tools or arbitrary third-party Python libraries. Never paste passwords, API keys, or private information into code exercises.