Permutations by ksk

puts$*|(0..$$).map{(0..5).sort{rand-0.5}*' '}.sort

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

download

return to the top page