day03
This commit is contained in:
parent
dde2715d2e
commit
c70bcd86da
4
day03.py
4
day03.py
@ -20,8 +20,8 @@ class Day(AOCDay):
|
|||||||
return int(gamma, 2) * int(epsilon, 2)
|
return int(gamma, 2) * int(epsilon, 2)
|
||||||
|
|
||||||
def part2(self) -> Any:
|
def part2(self) -> Any:
|
||||||
report_ox = [a for a in self.getInput()]
|
report_ox = self.getInput()
|
||||||
report_co2 = [a for a in self.getInput()]
|
report_co2 = self.getInput()
|
||||||
for i in range(len(report_ox[0])):
|
for i in range(len(report_ox[0])):
|
||||||
count_ox = 0
|
count_ox = 0
|
||||||
count_co2 = 0
|
count_co2 = 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user