Variables

James Stroud jstroud at mbi.ucla.edu
Sat Apr 23 22:30:12 EDT 2005


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.

-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/



More information about the Python-list mailing list