在c++裏面可以這樣操作
string a=“hello ”
a = a+"world"
但是在python裏面這樣操作
string a=“hello ”
a = a+"world"卻顯示錯誤
最後只能重新申請string b=“world”
a = a+b
在c++裏面可以這樣操作
string a=“hello ”
a = a+"world"
但是在python裏面這樣操作
string a=“hello ”
a = a+"world"卻顯示錯誤
最後只能重新申請string b=“world”
a = a+b
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c