Modules and Imports — Python practice
Q1: Import json and read a payload
Use a standard-library import to parse JSON text and extract useful fields from a payload.
Requirements
- Import the json module
- Use json.loads(payload) to parse the JSON string
- Print source, rows, and status in the required format
Enable JavaScript to edit code, run the exercise, and review feedback. Your saved work loads in the existing practice workspace.