Skip to content

Commit f48d6c8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f3d6012 commit f48d6c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

graphs/graphs_floyd_warshall.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,13 @@ def floyd_warshall(graph: list[list[float]], vertex: int) -> tuple:
100100
):
101101
dist[i][j] = dist[i][k] + dist[k][j]
102102
return dist, vertex
103-
103+
104+
104105
if __name__ == "__main__":
105106
import doctest
107+
106108
doctest.testmod()
107-
109+
108110
v = int(input("Enter number of vertices: "))
109111
e = int(input("Enter number of edges: "))
110112

0 commit comments

Comments
 (0)