mirror of
https://github.com/RussellChamp/advent-of-code-2022.git
synced 2026-10-27 21:52:30 +00:00
day04 solution
This commit is contained in:
1 parent
0716f6e4e9
commit
312c9107e3
5 files changed
+92
-3
No files matched your search
+6
-2
@@ -8,14 +8,18 @@ def get_path():
|
||||
def solve_part1():
|
||||
total = 0
|
||||
|
||||
with open(get_path()) as fp:
|
||||
for line in fp:
|
||||
print(line)
|
||||
|
||||
print('GOAL: #GOAL1#')
|
||||
print('ANSWER: #ANSWER1#)
|
||||
print('ANSWER: #ANSWER1#')
|
||||
print('Total: %d' % (total))
|
||||
def solve_part2():
|
||||
total = 0
|
||||
|
||||
print('GOAL: #GOAL2#')
|
||||
print('ANSWER: #ANSWER2#)
|
||||
print('ANSWER: #ANSWER2#')
|
||||
print('Total: %d' % (total))
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in new issue
Block a user