String Append Function In Python