Re:Python iteration
by ff0066mote on Wednesday April 25, 2012 @06:00PM
(#3891338)
I would have liked to have seen mention of this while loop instead of the index-based one.
Although it doesn't fit the theme of the others because it consumes the list, it is certainly a more natural use of "while" to loop over a list.
[ Parent
| on HN ]
There are no comments on this comment yet.