1# Aim: Program to perform palindrome check (Palindrome Check). 2num = int(input("Enter a number: ")) 3string = str(num) 4if string == string[::-1]: 5 print("The number is a palindrome") 6else: 7 print("The number is not a palindrome")