a = b = 1 just syntactic sugar?
tjreedy at udel.edu
Sat Jun 7 05:07:21 CEST 2003
"Ed Avis" <ed at membled.com> wrote in message
news:l1isrikctv.fsf at budvar.future-i.net...
> I don't have my copy of 'Learning Python' to hand, but I don't
> any strong emphasis on statements versus expressions in that or
> learner-oriented texts. The distinction between the two is
> that you don't need to worry about, to Python's credit.
Assignment statement: target = expression. If one does not know what
expressions are (and are not), then one cannot reliably write correct
More information about the Python-list