Practice – devcor_350-901

Strength:
0%
Answered: 0 • Correct: 0 • Incorrect: 0

Logged in as Guest

Complete the Python snippet to parse JSON and extract a field.

Drag the correct code snippets from the options panel into the placeholders in the code window.

import requests def get_name(url): resp = requests.get(url) data = resp.{{1}}() return data['{{2}}']

Drag a snippet from the right into each blank box in the code.

Available snippets

json
text
name
body