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.
⌘↵ runs the editor.read, then continue.
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.
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.