get last two in a length of unknown length?

M. Clift noone at here.com
Thu Aug 19 04:45:47 CEST 2004


Hi All,

I have a list of varying length. Would someone know the way to get the last
two values for this? I can see how this is done with a list that I know the
length of, but not one thats generated by user input.

Thanks for any help





More information about the Python-list mailing list