pass arguments in filter python code example Example: how to pass arguments to filter function in python filter(lambda seq: get_long(seq, 3), dna_list)