Get a set of coding challenges with test cases and hints, for any language, from beginner to advanced
Type the language you code in, choose a level, how many challenges and a set number. The page deals challenges from a bank of twenty-four, each with test cases whose answers were worked out by a reference solution, and a hint you can keep covered.
The worked example is five mixed challenges in Python. Saved on this device only.
Loading Coding Challenge Generator. If nothing appears, turn on JavaScript.
Academics · Study SkillsOpen to everyone · no sign-in
Short problems with clear checks build skill in a way that reading about code does not. Writing the answer to a test case by hand first shows you understand the task before you write any code.
Each expected output on this page comes from a reference solution that the page builder ran, so the test cases do not rely on mental arithmetic.
The worked examples are invented for illustration. What you type is saved only in this browser and is never sent to Caveat. Support: team@caveatacademic.com.