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


Groups > comp.lang.python > #48969

Re: newbie question

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.083
X-Spam-Evidence '*H*': 0.84; '*S*': 0.01; 'subject:question': 0.10; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'question': 0.24; 'possibly': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; 'received:google.com': 0.35; 'should': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'simple': 0.61; "you're": 0.61; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KpWBeI8KHtBG5ZM9d9BPseP6vGtbykLg/Cx7oaIRGng=; b=EwfoH0XiL9DnVgQ6Ec0Za0oyB/VYaZKrsvUGBev6LxRTrDClSyV1LBihoRfhxNdmF3 y4SMANwoC8hbsPSEUJwzMDgEXm3wNCa98xmovHedKUNjQxmjUYwE9xvch73zR7PtGt2I E+tkN2x360nYBdyfv475vWuQE7sAwxOqDChNi8kSdOEzGzIQ1jKVK8M9uhuspDE1V7ex P1+Oi6De/9uteugZ+qdRvfqy8x1A25X5i3NJf5L4iDB3BZKEBGtCwO1w115OD+q4gbfg 6QNnweUT6CHaj+jsSPd6FD62m44XoX278sjuUymPWteKwYK8iJNDh1bv1buYXjCYRg5G +n8w==
MIME-Version 1.0
X-Received by 10.58.187.4 with SMTP id fo4mr8860395vec.55.1371955712089; Sat, 22 Jun 2013 19:48:32 -0700 (PDT)
In-Reply-To <195f7100-c4bf-414d-a92f-5b8a70d896f7@googlegroups.com>
References <195f7100-c4bf-414d-a92f-5b8a70d896f7@googlegroups.com>
Date Sun, 23 Jun 2013 12:48:32 +1000
Subject Re: newbie question
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3721.1371955720.3114.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371955720 news.xs4all.nl 15917 [2001:888:2000:d::a6]:55309
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48969

Show key headers only | 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