promptdojo_

The one-liner Python writes when it's showing off — step 6 of 9

Claude generated this and it crashes with a SyntaxError. The pieces of the comprehension are in the wrong order — the for clause came first instead of the expression. Reorder line 2 so the script prints [2, 4, 6].

The break is on line 2 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.