d = range(0,9) # build an arbitrary list here # this creates a list of numbers: [0,1,2,3,4,5,6,7,8] e = len(d) print list(itertools.permutations(d, e)).
確定! 回上一頁