"Grant Edwards" <grante at visi.com> wrote I could have used a list comprehension instead of a > for loop. Ouch, I feel really stupid to have to ask this question, but what the ... is a list comprehension, and why is it better to use it than a for statement?