mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-15 18:27:36 +00:00
editing doctest
This commit is contained in:
parent
bf3c0c3de9
commit
77edabebb5
@ -46,7 +46,7 @@ def floyd_warshall(graph, v):
|
|||||||
... ]
|
... ]
|
||||||
>>> dist, _ = floyd_warshall(graph, 3)
|
>>> dist, _ = floyd_warshall(graph, 3)
|
||||||
The shortest path matrix using Floyd Warshall algorithm
|
The shortest path matrix using Floyd Warshall algorithm
|
||||||
|
<BLANKLINE>
|
||||||
0 3 INF
|
0 3 INF
|
||||||
2 0 INF
|
2 0 INF
|
||||||
9 7 0
|
9 7 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user