insts = text.splitlines() i = 0: while i < len(lines): inst[i] i += 1