B2013 温度表达转化 题解

· · 题解

本题解为 Python 题解,原题链接:B2013 温度表达转化

利用题目所给出的公式进行模拟即可,请注意保留 5 位小数即可,代码如下:

a=float(input());
c=(a-32)*5/9;
print("%.5f" % c);