+ 1
listName.pop [unsolved]
what does the .pop method do on lists how do you use it?
2 Answers
+ 10
delete element at top of list
+ 1
it removes and returns the last item of the list,like so:
https://code.sololearn.com/c9ui32XsjRY0/#py
what does the .pop method do on lists how do you use it?