[Tutor] Not workin!

Luke Paireepinart rabidpoobear at gmail.com
Tue Sep 29 23:45:43 CEST 2009


> if wellness.strip().lower() in ["well", "fine", "good", "whatever"]:
> note if you strip & lowercase the list it is far more likely you'll match
> your input.
>
> And by "lowercase the list" I meant "lowercase the string" of course :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090929/6236301a/attachment.htm>


More information about the Tutor mailing list