promptdojo_

Lists, dicts, and the shape of an API response — step 6 of 9

Claude generated this and it crashes with a KeyError: 'username'. That's the error Python throws when you ask a dict for a key it doesn't have.

Fix the code so it prints hi, maya.

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

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