Leetcode Palindrome Number Python Program For Prime