4 ms·
I've seen it before, but it's a little jarring. Not sure what's wrong with just using i.
by monochromatic 14y ago
I've seen it before, but it's a little jarring. Not sure what's wrong with just using i.
- jdiez17 14y agoIt says explicitly that you don't care about that value. If you used i, for example, you wouldn't know whether the loop depended on the iteration number.
- monochromatic 14y agoYeah, I get it. And that's a useful thing to do, I guess. It just seems a little... unpythonic.
- randomsearch 14y agoTo avoid unused variable warnings.