Programming Assignment: Pluto's Poetic Journey - C1M3_Assignment

All my tests have passed but when I submit, I get this error each time “There was a problem compiling the code from your notebook, please check that you saved before submitting. Details: list indices must be integers or slices, not str”

I have restarted the kernel, resubmitted multiple times but keep getting the same error and don’t know why it is happening and how to fix it

(Note: I’m not a mentor for this course. General advice follows):

Perhaps there is an error in your code. Passing the notebook’s tests does not prove your code is perfect. The grader uses additional tests.

I logged out and in and ran everything again and now it works, It looks like I needed to save periodically

1 Like

Yes, the auto-save method isn’t very reliable. Always do a manual save before grading.