正文

GUI回调函数的写法: ```python import tkinter as tk def on_button_click(): print("按钮被点击了") root = tk.Tk() btn = tk.Button(root, text="点击我",