<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Hi Folks,</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>I have a textbox and a button (in tkinter). What I want is the following functionality: The user enters a number in the text box and presses the button. The event will call a function called &quot;adder&quot; and when the user enters another value and presses the button, the 'adder' function is again called and the summation of both the numbers is displayed.
</div>
<div>The problem is I am not able to store the value of 'result' variable. I want to make it persistant between the function calls.</div>
<div>&nbsp;</div>
<div>TIA.</div>
<div>Regards,</div>
<div>Asrarahmed<br clear="all"><br>-- <br>To HIM you shall return. </div>