Return The method will delete the item as del a(b). Syntax operator.delitem(a, b)-> delete the item __delitem__ Parameters a=list b=index number Import module Importing module is required in the Shell window and the Editor window. Examples The method deleted the item in list.
del a[b] The method perform same function as operator.delitem(a, b).
Operator.__delitem__(a,b) The method returns the same function as operator.delitem(a,b).
Limitation The method does not support tuple.
| operators
|