The Strip is only removing the *last* \n which is at the very end of the list. This makes it so when you do a .split() after you don't end up with a blank entry at the end.