ghostmkg / programming-language

You write code in any programming language you want. And push the code.
33 stars 79 forks source link

Create palindrome-checker.py #99

Closed Jadu07 closed 17 hours ago

Jadu07 commented 1 day ago

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.