On Sun, 02 Feb 2003 03:10:27 GMT, Afanasiy <abelikov72 at hotmail.com> wrote: >I am confused about the purpose of list comprehensions. >What can they do which an explicit for loop cannot? Replies to this question relating to convenience led me to look for something like C's ternary ? operator. Does something like that exist in Python?