python itertools ifilter code example Example: itertools from itertools import combinations from itertools import permutations