promptdojo_

Cursor wanted to keep only names longer than 3 characters. Instead of filtering them out, it used an if/else inside the expression, so short names got replaced with the string "-" instead of removed.

Output is currently ['alex', '-', 'jordan', '-']. Fix line 2 so the output is ['alex', 'jordan'] — short names removed entirely.

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.

open this same url on a laptop to keep going today.