Solution to problem 9 part 1 in Python
This commit is contained in:
parent
a55487c839
commit
9a044d1ca7
@ -65,7 +65,8 @@ def part_1() -> None:
|
||||
if not is_low(*pos, value):
|
||||
continue
|
||||
res += value + 1
|
||||
print(res)
|
||||
|
||||
print(f"The sum of all low points is {res}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
x
Reference in New Issue
Block a user