Home>

Now I'm studying with the bookEveryone Python"and after writing a graph of the average temperature in Tokyo, I typed the code to retrieve the list elements.< br />

'Name Error'appeared and I thought that the white space was not correct and the code was concatenated. I do not know.
I also added a code without subtraction, so I would appreciate it if you could tell me.

  • Answer # 1

    The error is that the variabletokyo_tempsis undefined.

    The graph that

    tokyo_tempscan refer to is the [19] th run and the error is the [10] th run, so the jupyter notebook has been restarted halfway Won't you?

    I think that there is a cell defined liketokyo_temps = ....in the part above the presented capture, so an error occurs after executing it Try running the cell.

Related articles