http and apis — making the call4 / 9
parsing nested api responses — without crashing on a missing key
Three responses, each with a different shape: full, empty choices
list, and totally missing. The loop walks each defensively. What does
it print? (Three lines, in order.)
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _