Jupyter python code not running

I am trying to run the following code but nothing is being shown. Here is the image:


What could be the issue as I am restarting the kernal, still this specific code is not running.

Hi @Animesh_Shukla,

Jupyter Notebook will only print the output of the last statement. for-loop doesn’t have an output. You must use the print() function if you want to see any output.

1 Like