<[email protected]> wrote
mystring="Mary had a little lamb." mystring.split()['Mary', 'had', 'a', 'little', 'lamb.']And then you can use slicing to reverse the created list the same way you did with the full string.
Or use the reverse() method of the list...Alan G
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
