itertools.permutations returns a generator with successive r-length permutations of elements in the iterable. a = [1,2,3] list(itertools.permutations(a)) ...
確定! 回上一頁