i have a question when using the Button widget in tkinter. I am new to this. I noticed that when we use the command in the Button widget, sometimes we call a simple function just like that and sometimes we use lambda function and then we call it. What is the difference?
For example: tk.Button(window, text = "Click Me!", command = myfunction) tk.Button(win,text="Result",command=lambda: result(en1.get())
Cant we just use it without lambda? THank you.
lambda.