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
"
Copyright © Scott Stevenson 2004-2015
by Lee N — Dec 05
puts (0..10000).find_all{|n| n.to_s == n.to_s.reverse}.size