- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 Python list.remove()的坑
Python list.remove()的坑关于ValueError: list.remove(x): x not in list写代码遇见这个错误,标记一下,以免以后再犯。(1)list = [1,2,3,4]for i in list: print(i,list) list.remove(i) print(list)resulit(1, [1, 2, 3, 4])[2...
2020-03-13 00:52:26
5048
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人