+ If you want to run the full code in this question in Python (with a real HTTP JSON response), you must first install "requests" package before "import requests". + The error "NameError: name 'json' is not defined" is only shown if we forgot the line "import json" in Python code -> Answer A is not correct. + We only see the "KeyError" message if we try to print out an unknown attribute (key).