This would be easier to read if you started with `part.splitlines()`, used `lines[0]`, `lines[1]` and then iterated over `lines[2:]`.