文件操作
摘要:
fr = open('ljy.txt',mode='r',encoding='utf-8') ljy = fr.read() print('明文:'+ljy) print('密文:',end='') fw = open('cipherText.txt',mode='a',encoding='utf-8') for c in ljy: print(chr(ord(c)+3),end=''... 阅读全文
posted @ 2018-05-28 16:00 LiaoJingyi 阅读(133) 评论(0) 推荐(0)
浙公网安备 33010602011771号