To check whether a number is palindrome or not

Write a function that receives a number and checks whether it is Palindrome or not a palindrome.
A Palindrome sequence is the one which reads as same in its reverse.



For example:
Some of the palindrome sequences are 121, 1111111, 3456543,..



Implementation:


Output:

enter the no:
12221
Palindrome