Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'problem:': 0.07; 'learn,': 0.09; 'means,': 0.09; 'subject:()': 0.09; 'subject:while': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:python': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'thu,': 0.19; 'cc:addr:python.org': 0.22; 'text.': 0.24; 'question': 0.24; 'cc:2**0': 0.24; 'posts': 0.26; 'second': 0.26; 'post': 0.26; 'asking': 0.27; 'header:In-Reply- To:1': 0.27; 'list:': 0.30; 'especially': 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'subject:About': 0.31; 'url:python': 0.33; 'assistance,': 0.33; 'received:google.com': 0.35; 'google': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'pm,': 0.38; 'rather': 0.38; '12,': 0.39; 'quote': 0.39; 'mailing': 0.39; 'either': 0.39; 'url:mail': 0.40; 'read': 0.60; "you're": 0.61; 'back': 0.62; 'such': 0.63; 'answer.': 0.68; 'statement,': 0.68; 'groups.': 0.74; "else's": 0.84; 'you;': 0.84; 'to:none': 0.92 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:cc :content-type; bh=5nVmKVTdS14aLVPIZkl2kdhK9Aw3n4MXuxf1r5kiqUk=; b=ktSQ8iFAR475qICvveev85CSRooXCW13lHpPrTyiucnzRY4dEI8WkSlFptIk16sQRQ FAxUX1haIo5REIQVq1TPz/EiSqLehiixBSVYYUDOihlB47tSGrtk645Oq7uyTUoEfh/O g/NfHSHNcUv3w2myIOIh+4hrrsP8DzdxkzT8JBrKxmr67067AatEuk7Ud32lGQ8H+A9M p70V7jzGO/L4gTLixQKKwBbxa2CYe7O3uFmExHZI4kzRHDz+7U1C2jbVsp5V1IkyYfUi UV/M887d67mhlTGDueAaDl4WGKVzNSzByeD1Sc1QM10fyFdrx9gyfrkfq4HWEV3OokYG EblA== MIME-Version: 1.0 X-Received: by 10.220.59.65 with SMTP id k1mr42565309vch.22.1402549696197; Wed, 11 Jun 2014 22:08:16 -0700 (PDT) In-Reply-To: <814a6cb2-6e62-4c21-acca-71e30b22ec9f@googlegroups.com> References: <8d6207ab-b883-4940-8e53-75546a91d4dd@googlegroups.com> <53992114.3040006@swing.be> <814a6cb2-6e62-4c21-acca-71e30b22ec9f@googlegroups.com> Date: Thu, 12 Jun 2014 15:08:16 +1000 Subject: Re: About python while statement and pop() From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1402549704 news.xs4all.nl 2875 [2001:888:2000:d::a6]:60977 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73204 On Thu, Jun 12, 2014 at 2:56 PM, hito koto wrote: > I want to use while statement, This sounds like homework. Go back to your teacher/tutor for assistance, rather than asking us to do the work for you; or at very least, word your question in such a way that we can help you to learn, rather than just give you the answer. Second problem: You're using Google Groups. This makes your posts messy, especially when you quote someone else's text. Please either fix your posts before sending them, or read and post by some other means, such as the mailing list: https://mail.python.org/mailman/listinfo/python-list ChrisA