On Thu, Jan 31, 2013 at 11:36 AM, heathen <[email protected]> wrote:
> why is this:
>
>>>> d *= 3 + 4
The gory details about how Python understands this expression can be found in:
http://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements
Technically, "3 + 4" is the "expression list" part of the statement,
so it gets evaluated. Then it does the multiplication of the target
(d) and the value of the expression list (7).
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor