Append String To String In Python Function