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.
⌘↵ runs the editor.read, then continue.
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.
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.