c = input(‘请输入摄氏温度:‘) f = float(c)*9/5+32 print(‘{}摄氏温度转为华氏温度是{}‘.format(c,f))
解数据类型与数学运算:求和、温度转换
原文:https://www.cnblogs.com/liangzhijie/p/8946962.html