6.Explain the following functions in python lists.
a)reverse() b)sort() c)pop()
Answers
Answered by
2
Answer:
1. del[a : b] :- This method deletes all the elements in range starting from index ‘a’ till ‘b’ mentioned in arguments.
2. pop() :- This method deletes the element at the position mentioned in its arguments.
Similar questions