[EMAIL PROTECTED] writes:
>     while usrinp != "y" or "Y" or "N" or "n": <<<<----PROBLEM

    while userinp not in 'yYnN':
      ...

Or maybe more generally:

    while userinp.lower() not in 'yn':    # case independent test
       ...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to