Formatting
This commit is contained in:
parent
73e41d5263
commit
8fe0c9c475
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def partTwo(instr: str) -> int:
|
|||
|
||||
for slc in switch_set_locations:
|
||||
instructions = copy.deepcopy(master_instructions)
|
||||
|
||||
|
||||
# Switch instruction
|
||||
oldval = instructions[slc].opcode
|
||||
instructions[slc].opcode = "jmp" if oldval == "nop" else "nop"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue