diff --git a/graphs/graphs_floyd_warshall.py b/graphs/graphs_floyd_warshall.py index d7fd62e46..429391175 100644 --- a/graphs/graphs_floyd_warshall.py +++ b/graphs/graphs_floyd_warshall.py @@ -10,9 +10,9 @@ def _print_dist(dist, v): for i in range(v): for j in range(v): if dist[i][j] != float("inf"): - print(int(dist[i][j]), end="\t") + print(int(dist[i][j]), end=" ") else: - print("INF", end="\t") + print("INF", end=" ") print()