Clean up
This commit is contained in:
2
10/j.py
2
10/j.py
@@ -32,7 +32,6 @@ for l in input:
|
|||||||
# p2
|
# p2
|
||||||
if cycle % 40 == 0:
|
if cycle % 40 == 0:
|
||||||
line += 1
|
line += 1
|
||||||
|
|
||||||
if (pos == X-1 or pos == X or pos == X+1):
|
if (pos == X-1 or pos == X or pos == X+1):
|
||||||
screen[line-1][pos] = True
|
screen[line-1][pos] = True
|
||||||
|
|
||||||
@@ -46,7 +45,6 @@ print(sum(strs))
|
|||||||
|
|
||||||
# p2
|
# p2
|
||||||
for y in range(H):
|
for y in range(H):
|
||||||
|
|
||||||
for x in range(W):
|
for x in range(W):
|
||||||
if (screen[y][x]):
|
if (screen[y][x]):
|
||||||
print("#", end="")
|
print("#", end="")
|
||||||
|
|||||||
Reference in New Issue
Block a user