What does this PR do?
Adds a function to check if a number is a palindrome with input validation.
Test Plan
Positive Palindromes: Test with numbers like 121.
Non-Palindromes: Check with numbers like 123.
Negative Numbers: Enter -121 to verify the error message.
Invalid Input: Use non-integer values like "abc".
What does this PR do? Adds a function to check if a number is a palindrome with input validation.
Test Plan Positive Palindromes: Test with numbers like 121. Non-Palindromes: Check with numbers like 123. Negative Numbers: Enter -121 to verify the error message. Invalid Input: Use non-integer values like "abc".
Related PRs and Issues None.
Have you read the Contributing Guidelines on issues? Yes.