fr = open('lzr.txt',mode='r',encoding='utf-8')zyx = fr.read()print('明文:' + zyx)print('密文:',end='')for c in zyx: print(chr(ord(c)+3),end='')
本文共 191 字,大约阅读时间需要 1 分钟。
fr = open('lzr.txt',mode='r',encoding='utf-8')zyx = fr.read()print('明文:' + zyx)print('密文:',end='')for c in zyx: print(chr(ord(c)+3),end='')
转载于:https://www.cnblogs.com/rouxi/p/9113438.html