Last active
August 6, 2016 16:55
-
-
Save rayyildiz/b96fecf18015679a3d5e040083f3b9b1 to your computer and use it in GitHub Desktop.
Palindromic Numbers in Haskell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[x*y | x<-[10..99], y<- [10..99], reverse(show(x*y))==show(x*y)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The palindromic numbers, made from the product of two 2-digit numbers, reads the same both ways.