pythonic way to do something N times without an index variable?
Every day I love python more and more. Today, I was writing some code like: for i in xrange(N): do_something() I had to do something N times. But each time didn’t depend on the value of i (index variable). I realized that I was creating a variable I never used (i), and I thought “There … Read more