>>> a = input('请输入一个摄氏温度:') 请输入一个摄氏温度:120 >>> sum2=int(a) * 9/5 +32 >>> print('转换的华氏温度是:{}'.format(sum2)) 转换的华氏温度是:248.0