Hacker News new | ask | show | jobs
by monochromatic 4874 days ago
I've seen it before, but it's a little jarring. Not sure what's wrong with just using i.
2 comments

It 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.
Yeah, I get it. And that's a useful thing to do, I guess. It just seems a little... unpythonic.
To avoid unused variable warnings.