We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
working right now after checking github test code of the author. I misused the index() function of a list object (in case of parallel edges)
well apart the fact that theorically, a node can have only one loop, which was not the case in the author's test, good exercise :-)
graph = [[1,1],[2,2],[3,3],[3,3]]
a,b,c = get_graph_info(graph)
assert a==4 and b==4 and c==True, "Failed on test #3."
FYI, I am a beginner in programming.
Strange, my code fails on test #1, though all results seem OK when testing on VSCod, unless I did not understand the course and instructions.
Strange, my code fails on test #1, though all results seems ok if I well understood the course and instructions