c.set(a.get() / b.get()) //除數不為0 才除. else: c.set(float("inf")) //除以0 顯示為無窮大. win=tk.Tk(). win.title("tkinter GUI 測試").
確定! 回上一頁