Update basic_graphs.py (#1990)

* Update basic_graphs.py

missing return statement line no:223.

* Update basic_graphs.py

Co-authored-by: vinayak <itssvinayak@gmail.com>
This commit is contained in:
KARTHIKEYAN ANBARASU 2020-07-13 09:17:13 +05:30 committed by GitHub
parent 423dd2b020
commit e292ddb5ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,6 +220,7 @@ def prim(G, s):
if v[1] < dist.get(v[0], 100000):
dist[v[0]] = v[1]
path[v[0]] = u
return dist
"""