Addressing the last element of a list

pinkfloydhomer at gmail.com pinkfloydhomer at gmail.com
Tue Nov 8 10:00:01 CET 2005


Isn't there an easier way than

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

?




More information about the Python-list mailing list