+ 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 Answers
+ 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.