list comprehension with function code example Example: list comprehension [expression for item in list]