#判断回文数a=raw_input('your enter: ')b=[]l=len(a)for i in range(0,l): m=a[l-i-1] b.append(m)for j in range(l): mark=True if a[j]!=b[j]: print 'no' mark=False breakif mark==True: print 'yes'