結果 : kruskal algorithm program in python