打开一个由小写英文和数字组成的文本文件notes.txt,将该文件中的每一个字母加密后写入到一个新文件
encrypted_notes.txt,加密的方法是:a变成b,b变成c,……,z变成a,其它字符不变化。请在下面程序空白处填上正
确内容以实现程序功能。
file = open("notes.txt", "r")line = file.readline()list = []while line: for i in range(len(line)): if line[i].islower(): jm = ____________ # 填写代码 ① list.append(chr(jm)) else: list.append(line[i]) line = file.readline()s = ____________ # 填写代码 ②file = open("encrypted_notes.txt", "w+")file.write(s)file.close()