Entering Replace Or Append String In Python