下面用set()实现,这里用了一个标记记录点击的状态,不管内容是什么点了就 ... from tkinter import * def btn_hit(): if x.get() == "": x.set("I ...
確定! 回上一頁