python list comprehension with filter code example Example: python list comprehension with filter [expression for element in source_list if filter_expression]