#摄氏温度 temp=float(input('请输入摄氏温度:')) #摄氏温度转为华氏温度 H1=temp*9/5+32 #输出结果 input('摄氏温度{} ℃转化为华氏温度{}°F'.format(temp,H1))