Skip to content

Commit

Permalink
Changed non-critical issue in internet-connection with input generation
Browse files Browse the repository at this point in the history
  • Loading branch information
PillowGit authored Mar 21, 2024
1 parent 9876aa8 commit fdb3ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions problems/internet-connection/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -71,4 +71,4 @@ def intersectionArea(X1, Y1, R1, X2, Y2, R2):
return ans

if __name__ == "__main__":
problem_utils.main(Problem)
problem_utils.main(Problem)

0 comments on commit fdb3ca0

Please sign in to comment.