Marc Tompkins wrote: > List comprehensions will make your head hurt the first few dozen times
you encounter them. After that, they become easier to use than the longer for-loop structure they replace - as André pointed out, they read almost like English.I have to disagree, I immediately fell in love with list comprehension when I first meet them.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor