Problem:
Given an integer x, return true if x is a palindrome, and false otherwise.
Solution:
'''Author: Siddeshwari SMail: siddeshwariks@gmail.comDate: 17-08-2023'''class Solution:#Function to check the Palindromedef isPalindrome(self, x: int) -> bool:if(-pow(2,31)<x<pow(2,31)-1):return str(x) == str(x)[::-1]else:return False