Indeed, but is it not a variable? Is a variable in programming not merely a name associated with a value (which can changed over the course of code execution)?

James Stroud wrote:

I think, strictly speaking, foo would be a "name" in python.



foo


Traceback (most recent call last):
 File "<stdin>", line 1, in ?
NameError: name 'foo' is not defined



On Saturday 23 April 2005 07:20 pm, so sayeth Richard Blackwood:


To All:

   Folks, I need your help. I have a friend who claims that if I write:

foo = 5

then foo is NOT a variable, necessarily. If you guys can define for me
what a variable is and what qualifications you have to back you, I can
pass this along to, hopefully, convince him that foo is indeed a variable.

Thanks all!

Richard B.





--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to