Hi Fredrik

*sigh*  I think I will stop writing mini-tutorials :)

You are, of course, correct.  And I really like your method of
explaining how to mentally juggle the LC into explicit loops.

I shudder to think how mnay people I confused with my incorrect
examples - I really should have tested them first.

Thanks again
Caleb

> (to translate a list comprehension to nested statements, remove
> the result expression, insert colons and newlines between the for/if
> statement parts, and put the append(result expression) part inside
> the innermost statement)
> 
> </F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to