fork download
  1. a=map(chr,range(65,91))
  2. s=raw_input().upper()
  3. print ''.join([dict(zip(a,a[::-1])).get(i,i) for i in s])==s[::-1]
Success #stdin #stdout 0.01s 9016KB
stdin
W IZA RD
stdout
False