I wrote this for python code and got an unexpected output. The output was a number of zeros then it said “restarting kernel”. Why is the kernel restarting? On the other hand, I tried with if and there was no problem: So why is it not working with for? Answer In your code above, each function call will call itself
Tag: kernel
Restarting kernel, ipython console in spyder
I am having this problem in spyder where, after I run my code and exit the gui.program, the kernel needs to manually be restarted after every time my code is ran, I sometimes even have to shut down spyder as kernel crashes. I am wondering if there is a way for the kernel to automatically be reset after closing the