two kinds of digit by nanayaT

10001.times{|x|puts x if x.to_s.split('').uniq.size == 2}

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

download

return to the top page