promptdojo_

GET, status, JSON — the call AI makes 100 times a day — step 8 of 9

We've stubbed an API response below. Write a function called get_user_name that takes the response dict, returns the value at response["data"]["user"]["name"], and then call it once on the provided mock and print the result.

Expected output:

maya

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