def a( ): temp = equation.get() result.set(temp) button_张力 =TK.Button(root,text='水平张力',bg='DarkGray',command=a)
如上的程序 如何将按下button按钮所输入的数值储存下来进行后续的计算