S
Suresh Jeevanandam
Dear all,
I read in "Python in a Nutshell" that when we have multiple assignments
made on a single line, it is equivalent to have those many simple
assignments and that the right side is evaluated once for each
assignment. [The wordings are mine. I am not sure if this is what he
intended].
So, In the following code snippet I expected the values of c, d, e to
be different. But they are not? I am missing something... What is it?
Thanks.
regards,
Suresh
I read in "Python in a Nutshell" that when we have multiple assignments
made on a single line, it is equivalent to have those many simple
assignments and that the right side is evaluated once for each
assignment. [The wordings are mine. I am not sure if this is what he
intended].
So, In the following code snippet I expected the values of c, d, e to
be different. But they are not? I am missing something... What is it?
Thanks.
regards,
Suresh