Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48969

Re: newbie question

References <195f7100-c4bf-414d-a92f-5b8a70d896f7@googlegroups.com>
Date 2013-06-23 12:48 +1000
Subject Re: newbie question
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3721.1371955720.3114.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

newbie question christhecomic@gmail.com - 2013-06-22 19:39 -0700
  Re: newbie question Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-22 19:50 -0700
  Re: newbie question Chris Angelico <rosuav@gmail.com> - 2013-06-23 12:48 +1000
  Re: newbie question Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-23 03:08 +0000
  Re: newbie question Gene Heskett <gheskett@wdtv.com> - 2013-06-22 22:49 -0400
  Re: newbie question Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-25 13:05 -0600
  Re: newbie question Tim Rowe <digitig@gmail.com> - 2013-06-25 20:26 +0100

csiph-web