From utils import process_tweet, build_freqs

When I run this code, I get the error: name ‘null’ is not defined
The error seems to be from line21: “execution_count”: null.

Kindly assist

You have filed this under “AI Discussions”, so we have no idea which assignment or even which course you are talking about. You can move this thread to the appropriate category by using the little “edit pencil” on the title.

The error message sounds pretty clear, though: it is pointing you to line of code in which one of the variables is defined to have the value “None”. In the assignments here, they frequently use “None” as a placeholder to indicate places in which you need to fill in some code.

Thanks. I figured it out. The template was provided. I did not need to code on Jupyter on my machine.

The first law of debugging is “Believe the error message”. If you don’t understand what it’s telling you, then that’s the first problem you need to solve. Then you work backwards from there to figure out where the actual bug is.