From 099a032f3da31c9e718ccd0c7aa8768569a6471a Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Wed, 2 Dec 2020 19:01:34 +0000 Subject: [PATCH] Remove extra odd/even lines --- day1/find_2020_factors_2.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/day1/find_2020_factors_2.py b/day1/find_2020_factors_2.py index 4682b7a..2b2b623 100644 --- a/day1/find_2020_factors_2.py +++ b/day1/find_2020_factors_2.py @@ -4,9 +4,6 @@ import sys data = [int(a) for a in open("input.txt", "r").read().split("\n") if a != ''] -odd_numbers = [a for a in data if a % 2 == 1] -even_numbers = [a for a in data if a % 2 == 0] - for i in range(0,len(data)-3): for j in range(i+1,len(data)-2): for k in range(i+2, len(data)-1): -- 2.39.5