Almost rightLesson 031 min
This code calls a function that does not exist
AI-written code can call a function that looks right but does not exist. Here the code calls json.parse, which sounds like Python but belongs to JavaScript, so Python reports that the json module has no attribute parse. A model predicts code that looks likely, and a likely name is not a real one. In Python the function is loads.
Remember
Look up any function you have not used before, and run the code.
