Python List Comprehensions

Can you explain what a list comprehension is in Python and provide an example of how it's used?

Answer Panel