I am still confused by the “Hidden state” instruction 5 to 8.
For no. 5,I changed the function not to print anything then deleted the variable py as told.
For No. 6, I run the second code while welcome(py) still exist, I got an error as expected.
For No. 7, I run %history -p
for No. 8 I have to delete welcome(py) for it to work, if I just did as instructed I just get the same error message as before. this is where I am confused. Running the second code cell again or by clicking Restart & Run All in the Kernel menu, doesn’t seems to fix anything.
another little thing, how should I add a tags:612 to this post?
Basics.ipynb (6.2 KB)