Addressing the last element of a list

pinkfloydhomer at gmail.com pinkfloydhomer at gmail.com
Tue Nov 8 04:00:01 EST 2005


Isn't there an easier way than

lst[len(lst) - 1] = ...

?




More information about the Python-list mailing list