Codington
0 of 6 problems solved • 0%

Exercise prompt

Predict the JSON Flag

JSON can store a number and a boolean in the same object. Follow their types after decoding.

Predict the output

What does Python print after updating the page count?

import json book = json.loads('{"page": 9, "finished": false}') book["page"] += 1 print(book["page"], book["finished"])
What will this code print?