发布时间:2019-08-06 13:56:23编辑:auto阅读(1849)
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之基础篇(一)
47495
45796
36794
34326
28969
25599
24444
19612
19112
17634
5467°
6049°
5571°
5639°
6574°
5377°
5379°
5886°
5856°
7172°