像Java这样的Python中有什么东西StringBuffer吗?由于字符串在Python中也是不可变的,因此在循环中编辑它们效率很低.
StringBuffer
python java stringbuffer
java ×1
python ×1
stringbuffer ×1