newbie question

Chris Angelico rosuav at gmail.com
Sat Jun 22 22:48:32 EDT 2013


On Sun, Jun 23, 2013 at 12:39 PM,  <christhecomic at 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?

The thing you're looking for is case-folding, or possibly
lower-casing. You should be able to find what you want with that. :)

ChrisA



More information about the Python-list mailing list