[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: newbie question
From:       Rick Johnson <rantingrickjohnson () gmail ! com>
Date:       2013-06-23 2:50:30
Message-ID: a249b957-1370-40dd-9a73-8a48dd2d32b2 () googlegroups ! com
[Download RAW message or body]

On Saturday, June 22, 2013 9:39:30 PM UTC-5, christ...@gmail.com wrote:
> Writing simple program asking a question with the answer being 
> "yes"...how do I allow the correct answer if user types Yes, 
> yes, or YES?

Here is a clue. 

 py> 'e' == 'e'
 True
 py> 'E' == 'E'
 True


-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic