get last two in a length of unknown length?

M. Clift noone at here.com
Wed Aug 18 22:45:47 EDT 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