f = eval(input())
c = 5/9 * (f-32)
print ('{:.1f}'.format(c))
从键盘读取华氏温度,转换成摄氏温度并输出,保留1位小数。 转换公式为:c=5/9*(f-32), 其中,f为华为温度,c为摄氏温度。
最新推荐文章于 2023-04-26 15:34:17 发布
f = eval(input())
c = 5/9 * (f-32)
print ('{:.1f}'.format(c))