week-3
I accidentally reset the kernel and now all the code in the last assignment run inappropriately , when running all, I face error. so what should I do ?
here is the link to the lab (posting link to your assignment notebook or sharing any codes is against community guidelines)
did you try getting a fresh copy of assignment and re-do the assignment?
not defined errors are usually because of the recalled code not being run down before execution of the cell in the image, so in case when you reset the kernel, I hope you didn’t use the run all option to run all the codes together.
when you dc kernel and reconnect, always run each cell from beginning till end one by one.
I do , I download the original file once I encountered with the warning message by coursera to save all labs. but the problem here is when I lunch the original version of the code in , jupyter anaconda or in vs code , there are some syntax error in code structure . or some visual plot picture does not appear in the alternative platform than coursera lab
i do work there , but as i saw some problem in the code , I decided to reopen the original file ( without any change ) in other program to copy and past the raw code ( exactly as what it was before taking assignment ) in the coursera lab again , because I didn’t find any other way to take all codes back to their original form
copy paste of codes usually cause syntax error and also this is not the way to do assignment, please get a totally fresh copy and re do the assignment.
When the copy paste of codes are done, as we use loops and codes require execution of codes from a position point of view in a particular codes cell, you will always end up with this issue.