"""
Day 1 Main Module
"""

from day01 import parse_input, part1, part2

if __name__ == "__main__":
    # trying out the new walrus[:=] oprtr in python
    if (part := int(input("Enter Part: "))) == 1:
        print(part1(parse_input("input.txt")))
    elif part == 2:
        print(part2(parse_input("input.txt")))
    else:
        print("Wrong choice [1|2]")

[((10, 20, 10, 44), 'day01.parse_input', 'parse_input', ({(10, 32, 10, 43): '"""input.txt"""'}, {}), "('input.txt')", False, 'from day01 import parse_input, part1, part2\n'), ((12, 20, 12, 44), 'day01.parse_input', 'parse_input', ({(12, 32, 12, 43): '"""input.txt"""'}, {}), "('input.txt')", False, 'from day01 import parse_input, part1, part2\n')]