摘要:
import turtle turtle.speed(10) colors=['#4876FF','#CDC1C5','#00FFFF','#00FF7F','#EEA2AD','#B4EEB4','#EEAEEE','#D3D3D3','#E0FFFF','#DDA0DD','#C1CDC1','#00FA9A'] for i in range(200): turtle.pencol... 阅读全文
摘要:
fr = open ('win.txt',mode='r',encoding='utf-8') win=fr.read() print('明文:'+ win) print('密文:',end='') for c in win: print(chr(ord(c)+3),end='') fw = open('bili.txt',mode ='a',encoding='utf-8') for... 阅读全文
摘要:
while True: a = input('摄氏温度转化华氏温度请按1\n华氏温度转化摄氏温度请按2\n') if a =='1': c = float(input('请输入摄氏温度:')) f = c*9/5 + 32 print('{:.2f}摄氏温度转换华氏温度为:{:.2f}'.forma 阅读全文