首先需先引入Tkinter函式庫,並建立一個空視窗,程式最後一行記得 ... Button(window,text = "加1", command=plus) #執行plus函式btn1 = tk.
確定! 回上一頁