def printSolution(day, part, solution, test=False): if test: print("(TEST) ", end="") print("Solution to day %s, part %s: %s" % (day, part, solution))