Why does itertools.permutations() return a list of characters or digits for each permutation, instead of just returning a string?
For example:
>&g
Because it expects an iterable as a parameter and doesn't know, it's a string. The parameter is described in the docs.
http://docs.python.org/library/itertools.html#itertools.permutations