[SOLVED] A question to tkinter python
See actually I was trying to created a calculator with tkinter . My personal logic 1). I created 25 buttons 2). Each button which can be used in evel function ie. 1234567890+/*- is commnded with cal function. Means whenever any of these button is pressed cal function is called with a parameter of itself value as a string 3). This function append the value in a list every time it is called 4). The appended list is joined and shows to a screen . This is all what i wamt to did till now . But problem is that when the problem executes first time then automatically 11 times function runs each time for every buttons. And it print the content over label .. I dont need that actually. In my view it seems all right . See the code and run the code for better understanding . Have a look to code \/ https://code.sololearn.com/c84jeOHL0kL5/?ref=app [ SOLVED ! ]