我開始創建一個正常的圖表: import networkx as nx G = nx. ... Node: ') y = input('Second Node: ') paths = sorted(nx.all_simple_paths(G,x,y)) print(paths).
確定! 回上一頁