Flatten Nested List — PY OPPE Question