python | python str 对象 发表于 2021-05-15 分类于 python python中的str对象python中的str对象是不可变对象,因此不存在修改字符串这一说法。即:在s = ‘test’后写 s = ‘test1’