On Friday, June 3, 2016 at 8:52:52 AM UTC+12, BartC wrote: > Simple iterative for-loops are more of a DIY effort...
There is one case that Python handles more nicely than C. And that is iterating over a fixed set of values. E.g. in Python for rendering in (False, True) : ... #end for versus the (slightly) more long-winded C: for (bool rendering = false;;) { ... if (rendering) break; rendering = true; } /*for*/ -- https://mail.python.org/mailman/listinfo/python-list