diff --git a/day2/part1.py b/day2/part1.py index e86c18c..86da01a 100644 --- a/day2/part1.py +++ b/day2/part1.py @@ -28,7 +28,7 @@ with open("part1_input.txt", "r") as file_input: # decrease if we're supposed to be increasing or vice versa elif increasing and (-4 < difference < 0): safe_count += 1 - elif not (increasing) and (0 < difference < 4): + elif not increasing and (0 < difference < 4): safe_count += 1 else: break