0

In want to modify my calculator

https://code.sololearn.com/cjWc8G2H2obL/?ref=app When I click to my calculator button like plus or minus that will switch when user click on + or - as an example. And when I press a button in number that will shown into my entry format. Pls help me I just stuck there.

23rd May 2021, 7:20 AM
Prince Gautam
Prince Gautam - avatar
5 ответов
+ 2
tkinter is not supported by sololearn.. Try in your desktop if you have or use pydroid3
23rd May 2021, 7:24 AM
sarada lakshmi
sarada lakshmi - avatar
+ 2
In want to modify my calculator and I want to modify the world
24th May 2021, 3:38 AM
NEZ
NEZ - avatar
+ 1
I know wrote this code in my computer ide.
23rd May 2021, 7:30 AM
Prince Gautam
Prince Gautam - avatar
0
try making a StringVariable that watches over whatever is in the entry box. then whenever a button is pressed, use .get() and .set() on the text variable to change it
23rd May 2021, 8:15 AM
Slick
Slick - avatar