diff --git a/problems/internet-connection/__main__.py b/problems/internet-connection/__main__.py index dc1d086..9adae88 100644 --- a/problems/internet-connection/__main__.py +++ b/problems/internet-connection/__main__.py @@ -35,7 +35,7 @@ def __init__(self, seed=0) -> None: def generate_input(self, output: typing.IO | None = None): for pt, r in zip(self.pts, self.radii): - print(f"Router located at x={pt[0]}, y={pt[1]} with reach={r}ft\n", file=output) + print(f"Router located at x={pt[0]}, y={pt[1]} with reach={r}ft", file=output) # Return the # of pairs of circles that intersect def part1_answer(self): @@ -71,4 +71,4 @@ def intersectionArea(X1, Y1, R1, X2, Y2, R2): return ans if __name__ == "__main__": - problem_utils.main(Problem) \ No newline at end of file + problem_utils.main(Problem)