1. 使用枚举 2. python中List的内置方 问题背景 a=[1,4,2,1,5,6,9,0] #删除列表中的元素,其所在的位置为[1,3,7] del_index=[1,3,7] tmp=[ … Continue reading Python 列表中多元素的删除(移除)
1. 使用枚举 2. python中List的内置方 问题背景 a=[1,4,2,1,5,6,9,0] #删除列表中的元素,其所在的位置为[1,3,7] del_index=[1,3,7] tmp=[ … Continue reading Python 列表中多元素的删除(移除)