Problem
Given an integerx, return true if x is a palindrome, and false otherwise.
Examples
Constraints
- -2^31 <= x <= 2^31 - 1
Tested Python solution for LeetCode 9 with 16 pytest cases. Generate a practice environment with lcpy.
x, return true if x is a palindrome, and false otherwise.