Parcourir la source

Remove obsolete line

Taddeus Kroes il y a 6 ans
Parent
commit
e16182562f
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      2019/02_intcode.py

+ 0 - 1
2019/02_intcode.py

@@ -4,7 +4,6 @@ from operator import add, mul
 
 def run(p):
     pc = 0
-    opcode = p[pc]
     while p[pc] != 99:
         opcode, in1, in2, out = p[pc:pc + 4]
         op = add if opcode == 1 else mul