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