Returning a List
Shiva
shivaji_tn at yahoo.com
Fri Oct 3 07:45:49 EDT 2014
More information about the Python-list mailing list
Fri Oct 3 07:45:49 EDT 2014
- Previous message (by thread): Returning a List
- Next message (by thread): Returning a List
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!!
- Previous message (by thread): Returning a List
- Next message (by thread): Returning a List
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list