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

Alan Isaac aisaac at american.edu
Mon Mar 3 15:06:24 CET 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