Do you feel bad because of the Python docs?
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Tue Feb 26 10:26:47 EST 2013
On Wed, 27 Feb 2013 01:26:47 +1100, Chris Angelico wrote:
> And just to add to the pile of ways this could be done, the first
> response in this thread
> https://forums.digitalpoint.com/threads/how-to-get-last-character-in-
string.796134/
> suggests *reversing the string* and indexing from the front.
Oooh, deja vu! It's like it's 1988 and I'm learning to program in
Hypertalk all over again!
--
Steven
More information about the Python-list
mailing list