Fundamentals Readiness Check.
Can you turn a new requirement into working Python without being shown the answer? These nine challenges combine the skills you've already learned, before moving into larger IT automation workflows.
Write the logic, not just the expected output.
Each task gives you a function contract or a short starting script, not a completed solution. Use Run to try your own inputs; Check validates the stated sample and additional inputs where relevant. The same code should behave correctly when the data changes.
Skills this checks
- Expressions and input conversion
- String searching, slicing and character iteration
- Loop boundaries and nested iteration
- Lists, copying, sets and dictionary evidence
- Functions, validation and structured file handling
A useful passing standard
Try without hints first. When you need help, use the lesson links, study the trace, revise your solution and re-test. Completing every task is a meaningful self-check, not a grade, credential or guarantee that all possible inputs are covered.
Optional: Copy code into your local Python editor to practice beyond the browser. Your work is not uploaded or externally scored. Draft recovery remains opt-in and browser-tab only.
Write it. Run it. Understand it.
Independent fundamentals readiness check: nine unfamiliar tasks, multiple datasets, no prewritten solutions and no formal certificate.
Build a safe batch capacity calculator
Write capacity_plan(devices, per_batch) that returns a string '<n> complete, <r> remaining' for nonnegative device counts and positive batch sizes; otherwise return 'invalid'. This is a new batch-planning requirement, not a copy of the earlier program. Compute using // and %. The example is 17 devices in groups of five; independent checks change both numbers and include zero.
3 complete, 2 remainingTry solving it before asking for help. Hints never show a completed program.
Your printed output and errors will appear here.
Run the code, then step through the executed lines to watch variable values change.
