Solution to problem 3 in Python
This commit is contained in:
parent
b3c70d7c3d
commit
b04813d52a
@ -110,7 +110,7 @@ def part_2() -> None:
|
|||||||
if filled_grid[row][col] == 1:
|
if filled_grid[row][col] == 1:
|
||||||
counts += 1
|
counts += 1
|
||||||
if counts == (int(width) * int(height)):
|
if counts == (int(width) * int(height)):
|
||||||
print(f"The ID that does not overlap is {claim_id}")
|
print(f"The claim ID that does not overlap is {claim_id}")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user