[Tutor] Newbie python programmer here.
Gerrit Holl
gerrit@nl.linux.org
Tue May 20 05:56:44 2003
Alan Gauld schreef op maandag 19 mei om 22:20:20 +0000:
> > That is what I want it to do anyhow. I can't seem to get it right.
> What
> > am I doing wrong?
> >
> > def reverse(name):
[cut excellent help]
For your information: In Python 2.3, you can do string[::-1].
yours,
Gerrit.
--
202. If any one strike the body of a man higher in rank than he, he
shall receive sixty blows with an ox-whip in public.
-- Hammurabi, Code of Law
--
Asperger Syndroom - een persoonlijke benadering:
http://people.nl.linux.org/~gerrit/
Het zijn tijden om je zelf met politiek te bemoeien:
http://www.sp.nl/