remove print statement
This commit is contained in:
parent
941b7c3229
commit
ccc1ac5112
1
08/08.py
1
08/08.py
|
@ -40,7 +40,6 @@ def part2(instructions):
|
||||||
visited = []
|
visited = []
|
||||||
while True:
|
while True:
|
||||||
if i in visited:
|
if i in visited:
|
||||||
print(visited)
|
|
||||||
for i in reversed(visited):
|
for i in reversed(visited):
|
||||||
new_instructions = [instruction for instruction in instructions]
|
new_instructions = [instruction for instruction in instructions]
|
||||||
if instructions[i][:3] == "jmp":
|
if instructions[i][:3] == "jmp":
|
||||||
|
|
Loading…
Reference in a new issue