Questions
you can use lst.pop() or del lst[-1]
lst.pop()
del lst[-1]
pop() removes and returns the item, in case you don't want have a return use del
pop()
del
~ Answered on 2011-12-02 14:54:03