下面用set()实现,这里用了一个标记记录点击的状态,不管内容是什么点了就变1 from tkinter import * 2 3 def btn_hit(): 4 global msg_on 5.
確定! 回上一頁