Lesson 7: comment on the example

Mira Kovac 5 months ago
parent f6b60b9c0c commit d443434e20f6ede6653c76a2c03c46dc9711ae8f
1 changed files with 2 additions and 0 deletions
+2-0lessons/07-graphs-bfs-and-dfs/graphs.py
@@ -17,3 +17,5 @@
1717
1818 metro = {"A": ["B", "C"], "B": ["D"], "C": ["D", "E"], "D": ["F"], "E": ["F"], "F": []}
1919 print(shortest_path(metro, "A", "F")) # ['A', 'B', 'D', 'F']
20+
21+# This is the version we use in the video.