Python Examples: list comprehensions

Result

Console output