Y
Hacker News
new
|
ask
|
show
|
jobs
by
FloDo
3496 days ago
Do you even realize that these two loops are not equivalent? One of them starts at 8, then other one starts at 9 ...
1 comments
yoha
3495 days ago
Right, my bad. I tend to write loops in the former style, thinking of them as reversed(range(9)). This is another advantage of this style. I should have been more cautious when writing the second one.
link