fix prints

This commit is contained in:
aaron
2022-12-04 14:49:35 +01:00
parent 22413c844b
commit d8464c07fc

View File

@@ -45,10 +45,10 @@ if __name__ == "__main__":
# part a: find the number of sections that fully contain each other
answer_a = find_subsets(sections)
print(f"sum of priorities of all common items amongst compartments: {answer_a}")
print(f"sum of all cleanup sections that fully contain each other: {answer_a}")
submit(answer_a, part="a", day=4, year=2022)
# part b: determine the priority of common items in groups of three and create a priority summary
answer_b = find_overlaps(sections)
print(f"sum of priorities of all common items amongst groups of three: {answer_b}")
print(f"sum of all cleanup section that intersect: {answer_b}")
submit(answer_b, part="b", day=4, year=2022)