Need help with a string plz! (newbie)

Grant Edwards grante at visi.com
Fri Mar 9 16:42:31 EST 2007


On 2007-03-09, israphelr at googlemail.com <israphelr at googlemail.com> wrote:
> On Mar 9, 9:29 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
>> In <1173475520.292989.239... at p10g2000cwp.googlegroups.com>, israphelr
>> wrote:
>
>> In [57]: 'reversed string'[::-1]
>> Out[57]: 'gnirts desrever'
>
>
> Sorry, I didn't understand this.

First read this:
  http://docs.python.org/tut/node5.html#SECTION005120000000000000000
then this:
  http://www.python.org/doc/2.3/whatsnew/section-slices.html

-- 
Grant Edwards                   grante             Yow!  I was in EXCRUCIATING
                                  at               PAIN until I started
                               visi.com            reading JACK AND JILL
                                                   Magazine!!



More information about the Python-list mailing list