def printSolution(day, part, solution, test=False): if test: print("(TEST) ", end="") print(f"Solution to day {day}, part {part}: {solution}")