For a number to be palindrome, the reverse of the number and the original number must be the same.
The program written in Python, where comments are used to explain each line is as follows:
#This gets input for the number
num = input()
#This reverses the number
numrev = num[::-1]
#If the reverse and the original number is the same
if num == numrev:
#This prints Palindrome
print("Palindrome")
else:
#Otherwise, it prints Not palindrome
print("Not palindrome")
Read more about Python programs at:
https://brainly.com/question/26497128