Dear Team 365 Data_Science
sometimes in my python, when I execute my program dosen’t works even the program was correct.
so I delete everything and retype it again but this time it works.
where is the problem?? is the problem in my python ?? or what??
Thanks in advance.
Thanks for reaching out!
I see two potential reasons for this to happen.
On one hand, it could be that, quite simply, the first time you may have made a tiny mistake in your code that is still sufficient to lead to an error message. As you know, every symbol can make a difference.
On the other hand, you may have experienced some sort of kernel error that may have lead to the inability of Jupyter to execute your code. In general, this rarely happens but something of the kind could be a reason.
Usually, to solve a task like yours, it is best to ask you to provide specific information. I.e. the next time such a problem occurs, please provide the code that leads to an error, as well as the entire error message you obtain.
Doing so will help us provide specific assistance.
Hope this helps.
Thank you so much
You are welcome!