摘要:
while True: a = input('1:摄氏转华氏\n2:华氏转摄氏\n3:退出\n') if a=='1': c = float(input('输入一个摄氏温度:')) f = (c*9/5)+32 print('{:.2f}摄氏温度转为华氏温度为:{:.2f}'.format(c,f)) elif a=='2': f = float(in... 阅读全文
posted @ 2018-04-23 16:53
youuoy
阅读(107)
评论(0)
推荐(0)
浙公网安备 33010602011771号