Browse Source

Removing unnecessary loops for now

pull/4/head
Ryan Reed 3 years ago
parent
commit
b3f4a3e67c
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      puzzles/day03.py

+ 0
- 6
puzzles/day03.py View File

@ -59,9 +59,6 @@ class Diagnostics:
if len(report) == 1:
return int(report[0], 2)
if len(report) > 1: # May not be necessary
report = self.calc_oxygen_generator_rating(report)
return int(report[0], 2)
def calc_co2_scrubber_rating(self, inputs: List[str]) -> int:
@ -83,9 +80,6 @@ class Diagnostics:
if len(report) == 1:
return int(report[0], 2)
if len(report) > 1: # May not be necessary
report = self.calc_oxygen_generator_rating(report)
return int(report[0], 2)


Loading…
Cancel
Save