摘要: 配套纯原创,转载请注明出处 C1、温度转换示例 #温度转换 tempstr = input("请输入带符号的温度值: ") if tempstr[-1] in ['f','F']: C=(eval(tempstr[0:-1])-32)/1.8 print("{:.2f}C".format(C)) e 阅读全文
posted @ 2021-08-08 17:25 蓄芳 阅读(258) 评论(0) 推荐(0)