Solution to problem 9 part 1 in Python

This commit is contained in:
David Doblas Jiménez 2022-04-30 12:20:14 +02:00
parent a55487c839
commit 9a044d1ca7

View File

@ -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__":