list displays

Olive not0read0765 at yopmail.com
Sat Jan 8 16:57:45 EST 2011


I am a newbie to python. Python supports what I thinks it is called
list display, for example:

[i for i in range(10)]
[i for i in range(10) if i<6]

Does anyone know a good documentation for this. I have read the
language reference but it is confusing.

Olive  




More information about the Python-list mailing list