Need help with a string plz! (newbie)

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Fri Mar 9 16:29:07 EST 2007


In <1173475520.292989.239200 at p10g2000cwp.googlegroups.com>, israphelr
wrote:

> So I created a program, that gets a string from a user and then prints
> the string in reverse order.

In [57]: 'reversed string'[::-1]
Out[57]: 'gnirts desrever'

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list