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