
Blake G. answered 11/07/19
Private School Computer Science Teacher w/ B.Sc. in Computer Science
Great question Frank. The important concepts needed to solve this question are List Comprehensions and your research ability to locate a third-party library which applies to your question. In this case I use the Python library NetworkX to solve finding the average shortest path length for an entire graph.