Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:error': 0.03; 'exit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'digits.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'words.': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'really,': 0.31; 'subject:?': 0.36; 'to:addr:python- list': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'first': 0.61; 'email addr:gmail.com': 0.63; 'subject:The': 0.64; 'dont': 0.67; 'received:myvzw.com': 0.84; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: The input and output is as wanted, but why error? Date: Tue, 03 Dec 2013 12:58:13 -0500 References: <387f5b5f-faf1-4715-8d49-e366be53fd00@googlegroups.com> <02798e66-515f-45d8-9f45-92f58b16642d@googlegroups.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 181.sub-70-208-163.myvzw.com In-Reply-To: <02798e66-515f-45d8-9f45-92f58b16642d@googlegroups.com> User-Agent: Groundhog Newsreader for Android 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386093445 news.xs4all.nl 2833 [2001:888:2000:d::a6]:55374 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60958 On Tue, 3 Dec 2013 08:35:20 -0800 (PST), geezle86@gmail.com wrote: > really, i dont know why.. :( How about because you do a system exit on the first line of their input? The one that's all digits. And even if you get past that, you only process one of their words. -- DaveA