摘要:
import turtle turtle.speed(10) colors =['#EE7600','#FF3E96','#00E5EE','#00EEEE','#00CED1','#EE0000','#00B2EE','#FF4500'] for i in range(200): turtle.p 阅读全文
摘要:
fr = open('221.txt',mode='r',encoding='utf-8') plainText = fr.read() print('明文:'+plainText) print('密文:',end='') for c in plainText: print(chr(ord(c)+3 阅读全文
摘要:
while True: a = input('1:摄氏温度转为华氏温度请按\n2:华氏温度转为摄氏温度请按\n3:退出\n') if a =='1': c = float(input('请输入摄氏温度:')) f = c*9/5+32 print('{:.2f}摄氏温度转为华氏温度为:{:.2f}\ 阅读全文