palindrome iteration

bruno.desthuilliers at gmail.com bruno.desthuilliers at gmail.com
Sun Aug 29 15:19:01 CEST 2010


On 27 août, 18:20, Mark Lawrence <breamore... at yahoo.co.uk> wrote:
> On 27/08/2010 15:43, Bruno Desthuilliers wrote:
>
> > Dave Angel a écrit :
> > (snip)
>
> >> or (untested)
> >> def is_palindrom(s):
> >> s = s.lower()
> >> return s == s[::-1]
>
> > Right, go on, make me feel a bit more stupid :-/
> > Who's next ?
>
> It could be worse, try responding to issue 9702. :)

lol ! Nice one, indeed.



More information about the Python-list mailing list