Is it possible to return a variable and use it...?

Alan Isaac aisaac at american.edu
Mon Mar 3 09:06:24 EST 2008


Nathan Pinno wrote:

> Is it possible to return a variable and then use it



I think you are asking about the ``global`` statement.

<URL:http://docs.python.org/ref/global.html>



> like the following:



Presumably not.  ;-)



Cheers,

Alan Isaac





More information about the Python-list mailing list