First time here? Check out the FAQ!
answered 2014-02-04 19:53:54 +0100
What you want is probably Permutations
Permutations
sage: P = Permutations([0]*2+[1]) sage: P.list() [[0, 0, 1], [0, 1, 0], [1, 0, 0]]