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: