标签:class mod bubuko 文件 print txt open color img
fr = open(‘iii.txt‘,mode=‘r‘,encoding=‘utf-8‘) plainText = fr.read() print(‘明文:‘+plainText) print(‘密文:‘,end=‘‘) for c in plainText: print(chr(ord(c)+3),end=‘‘)
标签:class mod bubuko 文件 print txt open color img
原文地址:https://www.cnblogs.com/lzh604722612/p/9100787.html