What does "::" mean?

qwweeeit at yahoo.it qwweeeit at yahoo.it
Wed Jul 20 17:42:33 CEST 2005

Hi Robert,
I didn't succeed in reversing a string with the "full form" you
live[len(live)-1:-1:-1]     # where live="live"
The result is an empty string.
To  reverse "live" (in a "full form"), I have to put a char in front of
the string and...:
('x'+live)[len(live)+1:0:-1]   # --> "evil"
Is it due to the Python's version (I still have 2.3.4)?

More information about the Python-list mailing list