摘要: while True: a=int(input('摄氏温度转华氏温度请按1\n华氏温度转摄氏温度请按2:\n')) if a == 1: celsius = float(input('输入摄氏温度:')) fahrenheit = (celsius * 1.8)+32 print('{:.2f}摄氏温度转为华氏温度为{:.2f}'.... 阅读全文
posted @ 2018-09-13 21:43 何美玲 阅读(253) 评论(0) 推荐(0)