Q. What's the purpose of the del operator and pop method? Try deleting a slice.
You can understand by Watching video :-
Answer =
del operator and pop method both are used to delete the value from list.
del is used to delete the value by slice while pop is used to delete value by particular index number and also it return the deleted value.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )