list comprehension
A list comprehension is a special syntax in some programming languages to describe lists. It is similar to the way mathematicians describe sets, with a set comprehension, hence the name. Some attributes of a list comprehension are: * They should be distinct from nested for loops and the use of map and filter functions within the syntax of the language. * They should return either a list or an iterator. * The syntax has parts corresponding to that of set-builder notation.