Advertisement
moseechev

Untitled

Oct 21st, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. a=int(input(''))
  2. b=a%10
  3. c=a%100//10
  4. d=a%1000//100
  5. e=a//1000
  6. if b==e and c==d :
  7. print ('1')
  8. else :
  9. print ('0')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement