From the ehrQL tutorial:
Notice that the command prompt, or the set of characters before the cursor, has changed to >>>. For the remainder of this section, when you see >>>, you should type the code that follows into the sandbox and press Enter.
The "copy" button next to the code blocks puts the full contents of the box including the >>> onto the clipboard - could we modify the behaviour such that it doesn't?