Advertisement
marvk

Untitled

Oct 9th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n=readline()
  2. for(i=0;i<n;i++){s=readline()
  3. r=0
  4. for(j=0;j<3;)r+=s[j]-s[6-++j]
  5. print(r==0)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement