Theocacao
Leopard
Design Element
Comment on "Numeric Palindrome Finder in Ruby"
by Jim Freeze — Dec 05
Here's a one liner:

x ="0"; puts x if x == x.reverse until x.succ! == "100000"
Back to "Numeric Palindrome Finder in Ruby"
Design Element

Copyright © Scott Stevenson 2004-2015