python 摄氏温度转华氏温度

code

# 用户输入摄氏温度
celsius = 34.43
# 计算华氏温度
fahrenheit = (celsius * 1.8) + 32
print('%0.1f 摄氏温度转为华氏温度为 %0.1f ' %(celsius,fahrenheit))

原文地址:https://www.cnblogs.com/sea-stream/p/12822035.html