Skip to content

Commit 1d4cee6

Browse files
committed
minor python fixes
1 parent 6dad899 commit 1d4cee6

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/python/sequential/graph/bfs/breadth_first_traversal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,5 @@ def main():
3232
bfs(graph, "you")
3333
)
3434

35-
3635
if __name__ == "__main__":
3736
main()

src/python/sequential/graph/dfs/iterative_depth_first_traversal.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ def main():
2828
"bob": ["anuj", "peggy"],
2929
}
3030

31-
print(
32-
dfs(graph, "you")
33-
)
34-
31+
print(dfs(graph, "you"))
3532

3633
if __name__ == "__main__":
3734
main()

src/python/sequential/graph/dfs/recursive_depth_first_traversal.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ def main():
2727
"bob": ["anuj", "peggy"],
2828
}
2929

30-
print(
31-
dfs(graph, "you")
32-
)
30+
print(dfs(graph, "you"))
3331

3432
if __name__ == "__main__":
3533
main()

0 commit comments

Comments
 (0)