miwen=“”
mingwen=input(“请输入明文:”)
for i in mingwen:
if“A”<=i<=“Y”
miwen+=chr(ord(i)+1)
elif i==“Z”:
miwen+=chr(ord(i)-25)
else:
miwen+=i
print(miwen)
该程序段运行后,当输入明文ZORA2,输出的密文为( )
微信扫码预览、分享更方便