Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78647
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.011 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'enough.': 0.16; 'ignoring': 0.16; 'message-id:@post.gmane.org': 0.16; 'placeholder': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrongly': 0.16; 'wrote:': 0.18; 'value.': 0.19; 'print': 0.22; 'header:User-Agent:1': 0.23; 'looks': 0.24; 'header:X-Complaints- To:1': 0.27; 'function': 0.29; 'chris': 0.29; 'returned': 0.30; 'fine,': 0.31; 'writes:': 0.31; 'fri,': 0.33; 'but': 0.35; 'returning': 0.36; 'subject:List': 0.36; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'expect': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:y 20': 0.60; "you're": 0.61; 'believe': 0.68; 'received:2': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Shiva <shivaji_tn@yahoo.com> |
| Subject | Re: Returning a List |
| Date | Fri, 3 Oct 2014 11:45:49 +0000 (UTC) |
| References | <loom.20141003T133313-701@post.gmane.org> <CAPTjJmqZbmrxqO7Xo-mr-z=wahBH0b=N4iP-4y1EwWAQ1+ceeA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | sea.gmane.org |
| User-Agent | Loom/3.14 (http://gmane.org/) |
| X-Loom-IP | 2.29.233.10 (Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14575.1412336766.18130.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1412336766 news.xs4all.nl 2969 [2001:888:2000:d::a6]:50501 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:78647 |
Show key headers only | View raw
Chris Angelico <rosuav <at> gmail.com> writes: > > On Fri, Oct 3, 2014 at 9:35 PM, Shiva > <shivaji_tn <at> yahoo.com.dmarc.invalid> 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 > I wrongly thought calling the function was enough. Looks like the call is just a placeholder for the returned value. Need to print it out. Thanks!!
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Returning a List Shiva <shivaji_tn@yahoo.com> - 2014-10-03 11:45 +0000
csiph-web