Python Append String Variable Cpp Payment