Itertools Solved problems: itertools.permutations() itertools.combinations() itertools.combinations_with_replacement() itertools.product() Compress the String! Iterables and Iterators Maximize It!