题目

以下是凯撒密码的改进版,请将下划线处内容补充完整。import os #开始defNewCaesar(m,n,t): z='';i=0 while i<: tmp= if tmp in m:if ord(t[i])<=90: z+=n[m.find(tmp)]else: z+=n[m.find(tmp)].lower() else:z+=t[i] i+=1 return zm='ABCDEFGHIJKLMNOPQRSTUVWXYZ'n='QWERTYUIOPASDFGHJKLZXCVBNM'a=input('请输入<明文>a=')b=NewCaesar(m,n,a)print('对应的密文为:',b)c=NewCaesar(n,m,b)print('解密后明文为:',c)if : print('加密解密成功!')else: print('加密解密失败!')input(运行完毕,请按回车键退出...)os._exit(0)#结束 According to my grandparents, it is a good idea to eat chicken soup when you have a cold.  __      , scientists agree with them. A. Sooner or later   B. Once in a while    C. To be exact       D. Believe it or not
信息技术 试题推荐