On Mon, Oct 13, 2014 at 11:10 PM, Skip Montanaro
<skip.montan...@gmail.com> wrote:
> 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>

Welcome to collaborative editing. I make a change and introduce a bug.
Fortunately, someone else can, just like that, fix that bug. Thanks!
:)

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

Reply via email to