promptdojo_

The four types you'll see daily — step 7 of 9

An AI tool wrote this snippet to print a label and a count. It crashes with a TypeError on line 2. Fix it by casting the right thing so the output is exactly count: 6.

Expected output:

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

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