摘要: 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 阅读全文
posted @ 2018-04-23 16:51 哝哝 阅读(178) 评论(0) 推荐(0) 编辑