+ 1
Python, lists
Can we remove any element from a list using index number. Eg., list.pop(3) I saw we could use list.pop(0) to remove the first element.
3 Respuestas
+ 3
Yes, as long as you pass a valid index (within bounds), it should work.
+ 1
Thank uu 😊
+ 1
Pop method removes random element and pop() without argument is valid syntax.