What is Palindrome, Write code for palindrome
An integer is a palindrome when you read from the forward and read from the backward are same. or numeric palindrome, A number that remains the same when its digits are reversed. For Example: 121 is palindrome as from backward it also 121. 313 is number palindrome. 1001 is palindromic number. A String palindrome…