Skip to content

Commit f86bd1c

Browse files
authored
Update aoc_2022_d7.py
1 parent 321adde commit f86bd1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

skip-ahead-with-continue/aoc_2022_d7.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ def parse(lines):
2020
# - We can do a "/".join(path)[1:] to get the full path, and drop the "/"
2121
# - We maintain a dictionary of paths to files
2222
# - The key is the full path
23-
# - The value is a list of tuples.
23+
# - The value is a list of tuples
2424
# - Each tuple contains the name and file size
2525
#
26-
# Here's the plan when we get to each line.
26+
# Here's the plan when we get to each line
2727
# - if it's a cd command
2828
# - If it's a directory name, we push that onto the end of the path list
2929
# - If it's a .., we pop the last item off the path list

0 commit comments

Comments
 (0)