s1=input("请输入明文:")
q="1357902468";s2=""
for ch in s1 :
if "0"<=ch<="9":
s2+=q[int(ch)]
elif"a"<=ch<="z":
s2+=chr((ord(ch)-ord("a")+2)%26+ord("a"))
else:
s2+=ch
print(s2)
运行该程序,输入s1的值为“Mike521@qq.com”,则输出结果为( )
微信扫码预览、分享更方便