Theocacao
Leopard
Design Element
Comment on "Numeric Palindrome Finder in Ruby"
by Lee N — Dec 05
or:

puts (0..10000).find_all{|n| n.to_s == n.to_s.reverse}.size
Back to "Numeric Palindrome Finder in Ruby"
Design Element

Copyright © Scott Stevenson 2004-2015