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: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sun, Jun 23, 2013 at 12:39 PM, 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