1
0

cleaning up

This commit is contained in:
Nicolas Green 2024-12-03 11:22:52 -05:00
parent b7f6aab162
commit 162fc8cf2f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
first_list = [] first_list = []
second_list = [] second_list = []
result = 0 result = 0
with open("input.txt", "r") as file_input: with open("part1_input.txt", "r") as file_input:
for row in file_input: for row in file_input:
first_column, second_column = map(int, row.split(" ")) first_column, second_column = map(int, row.split(" "))
first_list.append(first_column) first_list.append(first_column)

View File

@ -1,5 +1,5 @@
safe_reports = 0 safe_reports = 0
with open("input.txt", "r") as file_input: with open("part1_input.txt", "r") as file_input:
for row in file_input: for row in file_input:
report = list(map(int, row.split(" "))) report = list(map(int, row.split(" ")))