Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!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.043 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'output': 0.05; 'explanation': 0.09; 'received:67.192': 0.09; 'received:67.192.241': 0.09; 'received:dfw.emailsrvr.com': 0.09; 'subject:Help': 0.11; 'outputs': 0.16; 'wanted.': 0.16; 'wrote:': 0.18; 'result.': 0.19; 'print': 0.22; 'header:User-Agent:1': 0.23; 'received:emailsrvr.com': 0.24; 'received:(smtp server)': 0.26; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'gary': 0.31; 'indentation': 0.31; 'this.': 0.32; 'run': 0.32; 'actual': 0.34; 'problem': 0.35; 'sequence': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'first': 0.61; 'you.': 0.62; 'making': 0.63; 'email addr:gmail.com': 0.63; 'show': 0.63; 'provide': 0.64; 'bottom': 0.67; 'correcting': 0.84; 'procedure,': 0.84; 'subject:Friend': 0.91 X-Virus-Scanned: OK Date: Thu, 21 Nov 2013 20:17:14 -0800 From: Gary Herron User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Newbie - Trying to Help a Friend References: <0e127888-4bfa-4f14-aa55-df8ef53284a3@googlegroups.com> <8e4ju.71474$Xe4.3764@fx34.am4> <15a6e59c-1ebc-44dc-9441-b2410a49ab98@googlegroups.com> <528DF430.1060608@rece.vub.ac.be> <29330860-484d-4cc8-b01c-0460fb55c251@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1385094400 news.xs4all.nl 15885 [2001:888:2000:d::a6]:44036 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60201 On 11/21/2013 03:55 PM, bradleybooth12345@gmail.com wrote: > the problem i have is that it's just giving me the first number of the sequence not the actual sequence Not when I run it. After correcting the indentation errors, I get the correct sequence *except* that it's missing the first number. You are making it very hard to help you. Please show us the *whole* session: the procedure (correctly indented please), the call of the procedure, the print that outputs the result and the actual printed result. Also provide an explanation of why the output is not what you wanted. Then perhaps we can get to the bottom of this. Gary Herron