Solution: Likeability in a Small Town
Follow step-by-step instructions to create a weighted graph in Python.
To solve this exercise, you should create the graph using NetworkX, then add the nodes of the graph and finally assign the weight to each of the edges:
Get hands-on with 1300+ tech skills courses.