Python解法
字符串反转
http://www.nowcoder.com/questionTerminal/e45e078701ab4e4cb49393ae30f1bb04
coding = utf-8
if name == 'main':
a = raw_input()
end = len(a)
s=''
while end > 0:
# print a[end-1]
s=s+a[end-1]
end = end-1
print s