def is_palindrome_num(n):
answer = False
ans = 0
total3 = n // 100 * 100
total2 = total3 - (n // 10)
total1 = n - total3 - total2
ans = total3 + total2 + total1
return
n = 121
ret = is_palindrome_num(n)
print(ret)
To embed this project on your website, copy the following code and paste it into your website's HTML: