number = int(input("Enter a three-digit integer:"))
a = number % 10
b = number // 100
if a == b:
print("%d is a palindrome" %number)
else :
print("%d not is a palindrome" %number)
04-14
4879
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-30
424
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-21
1428
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-15
533
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-24
4356
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)