1. Removed ;

This commit is contained in:
ashu01 2017-12-31 14:36:29 +05:30
parent 06c7827a94
commit c9debdbd41

View File

@ -8,7 +8,7 @@ class Graph:
self.dp = [[math.inf for j in range(0,N)] for i in range(0,N)] # dp[i][j] stores minimum distance from i to j
def addEdge(self, u, v, w):
self.dp[u][v] = w;
self.dp[u][v] = w
def floyd_warshall(self):
for k in range(0,self.N):