发布时间:2019-08-06 13:56:23编辑:auto阅读(2104)
import easygui easygui.msgbox('this program converts fahrenheit to celsius') t=easygui.enterbox('type the T temperature in fahrenheit:') f=float(t) c=(f-32)*5.0/9 #'\n'是换行 easygui.msgbox('this is'+ str(c)+ '\n'+'degrees celsius.')
上一篇: Python31 Socket2
下一篇: python之基础篇(一)
49997
49250
39907
36950
31350
28191
27144
21941
21878
20220
220°
222°
207°
370°
384°
992°
1837°
1722°
1393°
2802°