From fda97ac9ea551990dfb2636e03625a954aff72ba Mon Sep 17 00:00:00 2001 From: Pascal Lais Date: Wed, 8 Dec 2021 08:11:13 +0100 Subject: [PATCH] Update day 8 solution --- day-08/day-08.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/day-08/day-08.py b/day-08/day-08.py index e74fc3c..9c99605 100644 --- a/day-08/day-08.py +++ b/day-08/day-08.py @@ -37,10 +37,6 @@ def part_2(input): code['7'] = d elif len(d) == 7: code['8'] = d - if '1' not in code: - code['1'] = ''.join(set(code['4']).intersection(code['7'])) - if '8' not in code: - code['8'] = 'abcdefg' for d in inp: if len(d) == 6: if len(''.join(set(code['4']).intersection(d))) == 4: