more cleaning

This commit is contained in:
Jake Pullen
2023-12-17 17:37:01 +00:00
parent 8c2a9db754
commit c7107a4d44
50 changed files with 58 additions and 58 deletions
@@ -1,5 +1,5 @@
with open(r'advent_of_code\2022\day_1\input.txt', 'r') as file:
with open(r'advent_of_code\2022\1\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,5 +1,5 @@
with open(r'advent_of_code\2022\day_1\input.txt', 'r') as file:
with open(r'advent_of_code\2022\1\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,4 +1,4 @@
with open(r'advent_of_code\2022\day_2\input.txt', 'r') as file:
with open(r'advent_of_code\2022\2\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,4 +1,4 @@
with open(r'advent_of_code\2022\day_2\input.txt', 'r') as file:
with open(r'advent_of_code\2022\2\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,4 +1,4 @@
with open(r'advent_of_code\2022\day_3\input.txt', 'r') as file:
with open(r'advent_of_code\2022\3\input.txt', 'r') as file:
input = file.read()
test_input = '''vJrwpWtwJgWrhcsFMMfFFhFp
@@ -1,4 +1,4 @@
with open(r'D:\repos\advent_of_code\2022\day_3\input.txt', 'r') as file:
with open(r'D:\repos\advent_of_code\2022\3\input.txt', 'r') as file:
input = file.read()
test_input = '''vJrwpWtwJgWrhcsFMMfFFhFp
@@ -1,6 +1,6 @@
import os
with open(r'd:\repos\advent_of_code\2022\day_4\input.txt', 'r') as file:
with open(r'd:\repos\advent_of_code\2022\4\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,6 +1,6 @@
import os
with open(r'd:\repos\advent_of_code\2022\day_4\input.txt', 'r') as file:
with open(r'd:\repos\advent_of_code\2022\4\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,6 +1,6 @@
with open(r'advent_of_code\2022\day_5\input.txt', 'r') as file:
with open(r'advent_of_code\2022\5\input.txt', 'r') as file:
input = file.read()
with open(r'advent_of_code\2022\day_5\test_input.txt', 'r') as file:
with open(r'advent_of_code\2022\5\test_input.txt', 'r') as file:
test_input = file.read()
# print(input)
+6
View File
@@ -0,0 +1,6 @@
import os
with open(r'advent_of_code\2022\5\input.txt', 'r') as file:
input = file.read()
print(input)
@@ -10,8 +10,8 @@
def main():
print("Advent of Code - Day 5")
file_task_1 = open(r'advent_of_code\2022\day_5\test_input.txt', 'r')
file_task_2 = open(r'advent_of_code\2022\day_5\input.txt', 'r')
file_task_1 = open(r'advent_of_code\2022\5\test_input.txt', 'r')
file_task_2 = open(r'advent_of_code\2022\5\input.txt', 'r')
task_1(file_task_1)
#task_2(file_task_2)
-6
View File
@@ -1,6 +0,0 @@
import os
with open(r'advent_of_code\2022\day_5\input.txt', 'r') as file:
input = file.read()
print(input)