python程序语言设计-《python语言程序设计》_第二章编程题

2.1 程序: Celsius=eval(input("Enter a degree in Celsius:")) #输入摄氏度的值Celsius fahrenheit =(9/5)*Celsius + 32 #定义华氏温度fahrenheit print(Celsius,"Celsius is",fahrenheit,"Fahrenheit") 结果: Enter a degree in Cel
相关文章
相关标签/搜索