more cleaning

This commit is contained in:
Jake Pullen
2023-12-17 17:44:07 +00:00
parent c7107a4d44
commit 84ce884173
33 changed files with 40 additions and 40 deletions
@@ -1,5 +1,5 @@
with open(r'advent_of_code\2022\1\input.txt', 'r') as file:
with open(r'advent_of_code\2022\01\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,5 +1,5 @@
with open(r'advent_of_code\2022\1\input.txt', 'r') as file:
with open(r'advent_of_code\2022\01\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,4 +1,4 @@
with open(r'advent_of_code\2022\2\input.txt', 'r') as file:
with open(r'advent_of_code\2022\02\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,4 +1,4 @@
with open(r'advent_of_code\2022\2\input.txt', 'r') as file:
with open(r'advent_of_code\2022\02\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,4 +1,4 @@
with open(r'advent_of_code\2022\3\input.txt', 'r') as file:
with open(r'advent_of_code\2022\03\input.txt', 'r') as file:
input = file.read()
test_input = '''vJrwpWtwJgWrhcsFMMfFFhFp
@@ -1,4 +1,4 @@
with open(r'D:\repos\advent_of_code\2022\3\input.txt', 'r') as file:
with open(r'D:\repos\advent_of_code\2022\03\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\4\input.txt', 'r') as file:
with open(r'd:\repos\advent_of_code\2022\04\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\4\input.txt', 'r') as file:
with open(r'd:\repos\advent_of_code\2022\04\input.txt', 'r') as file:
input = file.read()
# print(input)
@@ -1,6 +1,6 @@
with open(r'advent_of_code\2022\5\input.txt', 'r') as file:
with open(r'advent_of_code\2022\05\input.txt', 'r') as file:
input = file.read()
with open(r'advent_of_code\2022\5\test_input.txt', 'r') as file:
with open(r'advent_of_code\2022\05\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\05\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\5\test_input.txt', 'r')
file_task_2 = open(r'advent_of_code\2022\5\input.txt', 'r')
file_task_1 = open(r'advent_of_code\2022\05\test_input.txt', 'r')
file_task_2 = open(r'advent_of_code\2022\05\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\5\input.txt', 'r') as file:
input = file.read()
print(input)