如何在Python中将字符串附加到列表项?假设我有一个列表: l = ['foo', 'bar', 'baz'] 如何将pre附加到bar以具有: l = ['foo', 'prebar', 'baz'] 什么?你知道吗 ...2024-07-02 已阅读: n次