📅  最后修改于: 2022-03-11 14:45:43.423000             🧑  作者: Mango
entry = tk.Entry()
def get():
guess = entry.get()
return guess # Replace this with the actual processing.
b1 = tk.Button(root, text="Guess", command=get)