Re:Python Multiple Assignment Is a Puzzle
by zwegner on Sunday July 27, 2014 @04:42PM
(#8093913)
With Python's evaluation/assignment order, both parts of a complex assignment happen at once--which is the source of the weird behavior in the article (A[0] is assigned to before the subscript of A[A[0] - 1] is evaluated).
[ Parent
| on HN ]
There are no comments on this comment yet.