Python3 代码
s = input()
c = ""
for i in range (len(s)):
if ( s[i] >="a" and s[i] <"z" ) or (s[i] >= "A" and s[i] <"Z"):
c += chr(ord(s[i]) + 1)
elif s[i] == "z":
c += "a"
elif s[i] == "Z":
c += "A"
else:
c += s[i]
print (c)