Difference between <del> and <remove>


#1


as and will return the same thing i.e remove the key or string whatever the case is???

Replace this line with your code.


#2

they are different? look:

aList = ['a','b','c']
aList.remove('a')
del aList[0]

remove needs an item of the list, del an index.


#3