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 ? -- http://mail.python.org/mailman/listinfo/python-list
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 ? -- http://mail.python.org/mailman/listinfo/python-list