Theocacao
Leopard
Design Element
Comment on "Numeric Palindrome Finder in Ruby"
by David — Dec 05
A PHP version (shorter than Ruby) ...

while ($i++ < 10000) if ($i == strrev($i)) echo "$i\n";
Back to "Numeric Palindrome Finder in Ruby"
Design Element

Copyright © Scott Stevenson 2004-2015