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


Groups > comp.lang.python > #48966

Re: newbie question

Newsgroups comp.lang.python
Date 2013-06-22 19:50 -0700
References <195f7100-c4bf-414d-a92f-5b8a70d896f7@googlegroups.com>
Message-ID <a249b957-1370-40dd-9a73-8a48dd2d32b2@googlegroups.com> (permalink)
Subject Re: newbie question
From Rick Johnson <rantingrickjohnson@gmail.com>

Show all headers | View raw


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

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