mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-18 01:00:15 +00:00
chagning tab to double space for doctest
This commit is contained in:
parent
05e81d5724
commit
d103325a63
|
@ -9,7 +9,7 @@ def _print_dist(dist, v):
|
||||||
print("The shortest path matrix using Floyd Warshall algorithm\n")
|
print("The shortest path matrix using Floyd Warshall algorithm\n")
|
||||||
for i in range(v):
|
for i in range(v):
|
||||||
for j in range(v):
|
for j in range(v):
|
||||||
end_char = "" if j == v - 1 else "\t"
|
end_char = "" if j == v - 1 else " "
|
||||||
if dist[i][j] != float("inf"):
|
if dist[i][j] != float("inf"):
|
||||||
print(int(dist[i][j]), end=end_char)
|
print(int(dist[i][j]), end=end_char)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user