mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-19 10:48:58 +08:00
changed rigt->right, a typo fix.
This commit is contained in:
@ -67,6 +67,6 @@ print("Enter the edges (u v)")
|
||||
for i in range(0, e):
|
||||
u ,v = map(int, raw_input().split())
|
||||
g.add_edge(u, v)
|
||||
|
||||
|
||||
s = int(input("Enter the source node :"))
|
||||
g.bfs(s)
|
||||
|
Reference in New Issue
Block a user