Formatting

This commit is contained in:
akp 2020-12-08 21:10:06 +00:00
parent 73e41d5263
commit 8fe0c9c475
No known key found for this signature in database
GPG key ID: D3E7EAA31B39637E

View file

@ -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"