Steven Bethard wrote:

Richard Blackwood wrote:

Indeed, this language is math. My friend says that foo is a constant and necessarily not a variable. If I had written foo = raw_input(), he would say that foo is a variable.


Then what does he say if you write:

foo = 5
foo = 6

?

STeVe

He says that foo is a constant. At first it was a constant which equaled 5, then it was a constant that equaled 6.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to