Drag scrambled code blocks into the correct order. Choose a built-in problem or paste your own code to generate one.
Designed with the WJEC specification in mindParsons Problems are coding puzzles where the lines of code are given to you, but scrambled up. You just need to put them in the right order — no typing required! It helps you learn program structure without worrying about syntax.
Paste any Python code below. It will be split into blocks (one per line) and scrambled for students to reassemble.