Variables
Dan Bishop
danb_83 at yahoo.com
Sun Apr 24 00:10:47 EDT 2005
Richard Blackwood wrote:
> 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
...
> He says that foo is a constant. At first it was a constant which
equaled
> 5, then it was a constant that equaled 6.
He must have a very unusual definition of "constant".
More information about the Python-list
mailing list