+ 1

listName.pop [unsolved]

what does the .pop method do on lists how do you use it?

26th Mar 2018, 4:23 PM
Martin Brock
Martin Brock - avatar
2 ответов
+ 10
delete element at top of list
26th Mar 2018, 4:30 PM
Vukan
Vukan - avatar
+ 1
it removes and returns the last item of the list,like so: https://code.sololearn.com/c9ui32XsjRY0/#py
30th Mar 2018, 8:20 AM
Hamid
Hamid - avatar