Skip to main content
PYTHON FUNDAMENTALS / INDEPENDENT SKILL CHECK

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.

9 independent tasksMultiple input scenariosReal PythonNo account
BEFORE YOU START

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.

JOELEARNS / PYTHON WORKBENCH

Write it. Run it. Understand it.

Independent fundamentals readiness check: nine unfamiliar tasks, multiple datasets, no prewritten solutions and no formal certificate.

Python 3.14 · in-browser
CHALLENGE 01 / 9 · INTERMEDIATE

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.

EXPECTED OUTPUT3 complete, 2 remaining
script.py editableCtrl / Cmd + Enter to run
Your code is stored only in session storage when enabled. Never paste secrets. Clearing this option clears saved drafts, not the editor.
Code executes only when you choose Run or Check. No account needed.
HINTS · OPTIONAL

Try solving it before asking for help. Hints never show a completed program.

PYTHON OUTPUTReady

Your printed output and errors will appear here.

VARIABLE TRACER

Run the code, then step through the executed lines to watch variable values change.

About readiness: These are independent browser-local learning checks, not an official exam or externally verified credential. A pass means the current fixtures and additional cases were satisfied; review any hints or failed cases before continuing.

About this environment: The Python runtime is loaded on demand from a version-pinned CDN and runs inside a sandboxed, opaque-origin browser frame. Runs have a time limit. OS/network automation is outside this introductory workbench. If your code calls input(), a response panel appears to supply text to those calls. Don't paste secrets or untrusted scripts.