Lesson 7: comment on the example
1 changed files with 2 additions and 0 deletions
lessons/07-graphs-bfs-and-dfs/graphs.py
| @@ -17,3 +17,5 @@ | ||
| 17 | 17 | |
| 18 | 18 | metro = {"A": ["B", "C"], "B": ["D"], "C": ["D", "E"], "D": ["F"], "E": ["F"], "F": []} |
| 19 | 19 | print(shortest_path(metro, "A", "F")) # ['A', 'B', 'D', 'F'] |
| 20 | + | |
| 21 | +# This is the version we use in the video. | |