I have an input which has properties spread on lines, however every subject has one newline with a property. So my input is:
"subject \n
property \n
subject \n
property \n
etc"
I want to separate this input into a list of ["subject \n property" , "subject \n property", etc], however I am rather new to python and it doesn't seem like I am able to use the .splitlines() for every other newline.
Does anyone know whether there is a way in which I can do this with .splitlines() or is there an easier alternative?