I am trying to complete this assignment . However i keep getting the below error. I fixed it multiple times but still the same error pops up
.There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
unindent does not match any outer indentation level (, line 151)
Assignment - Implementing graph algorithms with LLMs
For which function does the grader give this error? Did you check the indentation for that function? Also its a good practice to ask the LLM about errors too and feed the relevant code, its part of the collaboration process with the LLM!
This is for all the 4 functions . I tried prompted the LLM and entered in the code . It still gave me the same error. I will try one more time though
Again maybe better to get clean copies of the notebooks with “Get Latest Version”
I got 75 for my first submission, but got 0 for my second submission.
Did you try to get a new copy of the notebook?
Thank you for the recommendations. I created the new copy three times and it finally worked. I now received 75% . I noticed that since i was editing in the same copy over and over again it threw the indent error though my code was correct. I am a non programmer and I am glad i passed this assignment.
To get a new copy, you have to delete or rename your original file.
The “Get latest version” tool only replaces missing files - it won’t update an existing file.