Ordered text permutations by twobit

b=raw_input()
exec"b=[x+y for x in%rfor y in b];"%b*~-len(b)
print"\n".join(b)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page