📌  相关文章
📜  'str' 对象没有属性 'remove' - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:51.891000             🧑  作者: Mango

代码示例1
uteError: 'str' object has no attribute 'remove' pythonPython By Coding Lemons on Feb 16 2020 Donate
list = [1, 2, 3, 4, 5, 6, 7]
list.remove(5)
print(list)