Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'class,': 0.07; 'subject:help': 0.08; 'advice.': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tismer': 0.09; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:python': 0.16; 'language': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'trying': 0.19; 'input': 0.22; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'fine': 0.24; 'guys': 0.24; 'appreciated': 0.26; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'wondering': 0.29; "doesn't": 0.30; 'is?': 0.30; 'subject:please': 0.30; "i'm": 0.30; 'code': 0.31; 'anyone': 0.31; 'figure': 0.32; 'could': 0.34; 'problem': 0.35; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'idle': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'too': 0.37; 'christian': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'world.': 0.61; 'email addr:gmail.com': 0.63; 'anything.': 0.68; 'inline': 0.74 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Some python newb help please? Date: Tue, 12 Nov 2013 22:21:58 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-215-29.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384294935 news.xs4all.nl 15881 [2001:888:2000:d::a6]:48226 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59238 On 12/11/2013 22:14, lrwarren94@gmail.com wrote: > So I'm trying to write a program for a problem in class, and something strange is happening that I can't figure out why is happening. I was wondering if you guys could help me fix it? > > http://pastebin.com/6QZTvx6Z > > Basically, 1 and 2 work just fine as inputs, but whenever I input 3 or 4, idle just doesn't do anything. Does anyone know why that is? any suggestions on how to fix? Any help is much appreciated :) > Please put your code inline so we can see it, if it's too long see this http://sscce.org/ for advice. -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence