On Mon, Oct 13, 2014 at 6:59 AM, Chris Angelico <ros...@gmail.com> wrote:

> while input('Do you like python?') not in ('yes', 'y'): pass


Unfortunately, you probably have to account for people who SHOUT:

    while input('Do you like python?').lower() not in ('yes', 'y'): pass

<wink>

Skip
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to