Return value of an assignment statement?

Marc 'BlackJack' Rintsch bj_666 at
Fri Feb 22 09:12:56 CET 2008

On Thu, 21 Feb 2008 21:28:25 -0800, Jeff Schwab wrote:

> So what is the "variable?"  Or is Python the first HLL I've ever heard 
> of that didn't have variables?

Relax, Python has variables.  It's just sometimes a good advice for people
coming from languages like C to forget about that term for a while because
they have the wrong impression of what "variable" means.  A "variable" in
programming languages is composed of a name, a memory location, possibly a
type and a value. In C-like languages, where you put values in named and
typed "boxes", the memory location and type are attached to the name.  In
Python both belong to the value.

	Marc 'BlackJack' Rintsch

More information about the Python-list mailing list