Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4.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.072 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ignoring': 0.16; 'wrote:': 0.18; 'value.': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'fine,': 0.31; 'fri,': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'returning': 0.36; 'subject:List': 0.36; 'pm,': 0.38; 'expect': 0.39; "you're": 0.61; 'believe': 0.68; '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=PYd9BO/GBnhug5c/v9I1EYoi2T4KKTnpXge5rYcCV+k=; b=lHBR7eZD8CXlIW+P+SQSY9zCriihfB0herlw8ieyzGwjk9j8HhaRSVl6z/RmclnbsE BpOZ1GeVlc5hapCV2ivImqfzGagV0SU4kZDdNx7bJMqI965P3W/ALl8vtmfhjEw1hGWS L8N7KCTB4Mb96kgWWKyi/4QZUeWMq02qw+QbdW5WGSCqk9JPjfm2HgUWnJ4zHjmlsVhM p+2Y+EUpnRvRqhduzcRsSIZS/RJKou7C9zPBfjg9lcaD0DFIHVPZVrAR+uZ8lCSF2zwA 0WCFBoU1CbSHmGLOoPBj9E0cGtqKzcrpMgaINA8PSXdbUUv4yKiG3zYK+sFY2IhKSliq Clkg== MIME-Version: 1.0 X-Received: by 10.50.102.106 with SMTP id fn10mr13426504igb.14.1412336310864; Fri, 03 Oct 2014 04:38:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 Oct 2014 21:38:30 +1000 Subject: Re: Returning a List 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1412336313 news.xs4all.nl 2887 [2001:888:2000:d::a6]:45860 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3096 X-Received-Body-CRC: 3105776679 Xref: csiph.com comp.lang.python:78646 On Fri, Oct 3, 2014 at 9:35 PM, Shiva wrote: > Why is return d or return b+c not returning anything?? > On what basis do you believe it's not returning anything? When you call it, down below, you're ignoring its return value. I expect it's returning just fine, but you then do nothing with it. ChrisA