2022-12-14 13:49:00 +01:00
|
|
|
import numpy
|
|
|
|
|
|
|
|
day = "day3"
|
|
|
|
file = f"inputs/{day}.txt"
|
|
|
|
|
|
|
|
array = []
|
|
|
|
|
|
|
|
def part_one(file):
|
|
|
|
result = 0
|
|
|
|
input = open(file, "r")
|
|
|
|
input = input.readlines()
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-12-14 15:41:25 +01:00
|
|
|
|
2022-12-14 13:49:00 +01:00
|
|
|
print(f"Part 1: {result}")
|
|
|
|
|
|
|
|
part_one(file)
|
|
|
|
|
|
|
|
|
|
|
|
def part_two(file):
|
|
|
|
result = 0
|
|
|
|
input = open(file, "r")
|
|
|
|
input = input.readlines()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print(f"Part 2: {result}")
|
|
|
|
|
|
|
|
part_two(file)
|