If I need to run a code block at 100 times, I'll write code like this:
for x in xrange(100):
#code block
But usually I won't use temporary variable x
again.
And I think use this kind of temporary variable will cause code ugly.
Is there anyway can help me omit this kind of temporary variable?
Thank you.