I think there are mix up in this practice lab… Please help me check
This is my error message…
These are the list of columns and the expected code
{edit: code removed}
Expected outcome…
I think there are mix up in this practice lab… Please help me check
This is my error message…
These are the list of columns and the expected code
{edit: code removed}
Expected outcome…
Please do not share your code on the forum. That’s not allowed by the Code of Conduct.
Hopefully a mentor for this course will be along shortly to assist you.
Hello, @AhmedJoshuaHassan,
There were only the last three lines of the error message, could you please share all of it?
Cheers,
Raymond
sorry about that…
Thank you… Find attached edited error message.
Hello, @AhmedJoshuaHassan,
Thank you! The updated message is a different one. If we look at the number I circled out:
the “1” there means it was the first cell that you ran since you had (re-)started the assignment, however, we know that it was the first cell in the notebook.
It is crucial that, on Coursera, every time we open or re-open a notebook, we run each and every one of the code cells in sequence, because as we (re-)open it, Coursera may assign a new Python kernel to us, and a new kernal means it does not preserve the memory your last kernel had, which is why we need to run all the cells in sequence in order for all variables to be properly defined in the memory. If some variables are not defined, you get that NameError
in your updated error message.
My suggestion is for you to open the notebook again, and hit “Restart Kernel and Run All Cells” located as below. This will make sure all the cells are run and in sequence, and it will stop at the cell where an error is raised, and then you may capture a screenshot for that whole error message and share it here. You may just paste the new message in your next reply.
Cheers,
Raymond