From b7d8a03e6f153f401b6240c0d1f99698982be2f7 Mon Sep 17 00:00:00 2001 From: "Ajmera, Mahita SI/HZR-IDSA" Date: Thu, 17 Oct 2024 11:08:16 +0200 Subject: [PATCH] removing tabs from print statement --- graphs/graphs_floyd_warshall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()