Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.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.091 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.01; 'subject:error': 0.03; 'interpreter.': 0.07; '24,': 0.16; 'interpreter,': 0.16; 'throw': 0.16; 'wrote:': 0.18; 'error': 0.23; 'either.': 0.24; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'is?': 0.30; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; 'lines': 0.31; 'fri,': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'to:addr :python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'back': 0.62; 'between': 0.67; 'frustrated': 0.68; 'url:i': 0.72; 'url:jpg': 0.83; 'url:imgur': 0.84; 'subject:Lists': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=0O9pIfhUj+iM1jAC/nzAMjuylSWEOsKqkQO+BvWbka4=; b=OMYRNlxD2qFb84Ym3060Gr0v3MXBk6lH+xTkymM3Kpf0f/uDeAdwTmguAWOXGPvDs6 u/RPvUsW4A/3oEIbQRQzHS6zs+aDS644QvIGr/xAvUAGPsE0PyCxhHd+l1V6xeQtB8uS bGaIbljv2OR+Kaf+rHey1b35CMIUqxoJXtoFKMITFzB6SjO1m93iibbrjNJqDPKOkmHK uvdYWJ4VDnzTEoT9PFX0NKFOPsxWTe8a1sTqteaLdh1KkpTX8aIPB7E2LEakf6Q0rXtd bl8HkZHYt4z1GrScKixCkb5BMhmji/h5EkNcX396fXybbRAgEzaovUniass13CWHyai1 ikvg== X-Received: by 10.68.65.34 with SMTP id u2mr5476211pbs.6.1414173175671; Fri, 24 Oct 2014 10:52:55 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <9a1l4athfj10h7r3v69ddo95285n9cjlms@4ax.com> References: <2412654f-ac5e-4678-8956-afc4e27affb3@googlegroups.com> <3082ee74-3182-4ea5-9851-2b1326e5b34c@googlegroups.com> <9a1l4athfj10h7r3v69ddo95285n9cjlms@4ax.com> From: Ian Kelly Date: Fri, 24 Oct 2014 11:52:15 -0600 Subject: Re: I am out of trial and error again Lists To: Python 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414173184 news.xs4all.nl 2955 [2001:888:2000:d::a6]:37972 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79596 On Fri, Oct 24, 2014 at 11:03 AM, Seymore4Head wrote: > Actually I was a little frustrated when I added that line back in as > the other lines all work. > Using list(range(10)) Doesn't throw an error but it doesn't work. > > http://i.imgur.com/DTc5zoL.jpg > > The interpreter. I don't know how to use that either. Try both of these in the interpreter, and observe the difference: 7 in range(10) "7" in range(10) Do you understand what the difference between 7 and "7" is?