Python 1 liner easy


#1

return 1 if str(A)==str(A)[::-1] else 0


#2

Slick solution, but totally WRONG