Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Your code is not readable.
You will never pass code review on production
console
to know what your input isOP solved it, closing
Read the description again, you're not asked to check if the input is a palindrome number.
You need to return your output and not print it to the console. All katas on this website work like this. Returning the value, means the value is retained from that function call. The value retained can be checked and checked for equality against the expected answer. Printing to the console is hard to check for equality.