摘要: a=int(input ('摄氏度转换为华氏度请按 1\n华氏度转换为摄氏度请按 2\n')) if a==1: c = float(input('请输入摄氏温度:')) f = c*9/5+32 print('{:.2f}°C转换成华氏温度为{:.2f}°F'.format(c,f)) else: 阅读全文
posted @ 2018-04-27 22:37 李紫柔 阅读(239) 评论(0) 推荐(0) 编辑