Rustom Mody <rustompm...@gmail.com>: > On Wednesday, April 2, 2014 8:28:02 AM UTC+5:30, Rustom Mody wrote: >> In scheme, in a named-let, the name >> chosen was very often 'loop' > > Umm... I see from your prime number example that there are nested > loops in which sometimes you restart the inner and sometimes the > outer. So you could not possibly call both of them 'loop' :-).
Correct. I could call them "inner" and "outer". After all, the code uses variables like "i", "c" and "n". However, it doesn't hurt to use variable/function/loop names that convey meaning. Marko -- https://mail.python.org/mailman/listinfo/python-list