How To Use Permutations In Python