摘要:
import turtle turtle.speed(10) colors = ['#EEEE00','#FF82AB','#98FB98','#54FF9F','#8470FF','#CAFF70','#00FFFF','#8A2BE2','#00868B','#CDCD00','#CD5555','#AEEEEE'] for i in range(200): turtle.penc... 阅读全文
摘要:
while True: a = input('1:摄氏度转华氏\n2 :华氏转摄氏\n3 :退出\n') if a =='1': f = input('请输入华氏温度:') c = 5/9*(float(f)-32) print('{}华氏温度转为摄氏温度为:{:.2f}'.format(f,c)) 阅读全文