运行以下Python程序,一定会生成如下图所示的窗体。( )

import tkinter as tk
win = tk.Tk()
win.geometry("200x120")
def a():
win.quit()
win.destroy()
b = tk.Button(win, text='退出', command=a, width=10, height=2)
win.mainloop()
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析