Jerry,

> If you use negative indexes in the slice, they refer to items from the end of 
> the sequence instead of the front. So slicing the last character from the 
> string would be:
> 
> word[-1:]

Perfect! Thank you,

Malcolm
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to