Are you sure that is the output you are getting? I pasted your code in directly, and the output I see is:



0 is a palindrome number
0 is not a palindrome number
0 is not a palindrome number...