[ login to save ]
[ follow @TFisPython on x ]
lists and dicts — the bones of every api
2 / 9
lists, dicts, and the shape of an api response
Four shapes. Which one would Cursor reach for if you asked it to
map each user to their score
?
1
`a` — the list
2
`b` — the dict
3
`c` — the tuple
4
`d` — the set
Check
Show hint
⌘↵ runs the editor.
continue →
main.py
Booting Python…
run
⌘↵
Output
[promptdojo:~]$
_
Show prompt
park a thought