結果 : how to implement a weighted graph in python