How To Append String To List In Python Definition