Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78647 > unrolled thread

Re: Returning a List

Started byShiva <shivaji_tn@yahoo.com>
First post2014-10-03 11:45 +0000
Last post2014-10-03 11:45 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Returning a List Shiva <shivaji_tn@yahoo.com> - 2014-10-03 11:45 +0000

#78647 — Re: Returning a List

FromShiva <shivaji_tn@yahoo.com>
Date2014-10-03 11:45 +0000
SubjectRe: Returning a List
Message-ID<mailman.14575.1412336766.18130.python-list@python.org>
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!!

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web