Skip to content

Commit e1df8c8

Browse files
committed
renaming
1 parent d1230dc commit e1df8c8

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

src/advent_of_code/2023/day_01.py renamed to src/advent_of_code/year_2023/day_01.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,14 @@ def find_indices_of_patterns(line, patterns_to_find):
9696

9797
return patterns_and_indices
9898

99-
def main():
100-
args = parse_args()
101-
input = read_input(args.input_file)
99+
def main(input_file, part):
100+
# args = parse_args()
101+
# input = read_input(args.input_file)
102+
input = read_input(input_file)
102103

103-
if args.part == 1:
104+
if part == 1:
104105
accept_written_digits = False
105-
elif args.part == 2:
106+
elif part == 2:
106107
accept_written_digits = True
107108

108109
patterns_to_find = get_patterns(accept_written_digits)

0 commit comments

Comments
 (0)