Compile error when submitting assignment

I am taking Introduction to Generative AI for Software Development -Week 3 [Implementing algorithms in Graphs] on Coursera how ever I am running into multiple issues

My code compiles on Jupyter notebook and the Coursera env but when I try to submit it I get an error. I did import time library but why should that matter ? I even tried removing it but it keeps getting stuck on it. I tried saving and running multiple times but no luck. Please advice

Please post a screen capture image that shows the error.

1 Like