首先需先引入Tkinter函式庫,並建立一個空視窗,程式最後一行記得 ... += 1 label.config(text = str(counter)) #透過config函數更新數值def ...
確定! 回上一頁