How To Append String To List In Python Pdf