0

Writing a calculator code with Tkinter

Hello everybody! I am planning to write a calculator code with Tkinter module. I know how to define functions and plan the mainscreen with active buttons. But how can I write the decimal numbers? I mean when I press “2”, program will add “2” to the mainscreen but when I press to a second number, for example “3” it must be “20+3”. If I could manage it I think I can write the functions for calculations. I hope I told my problem exactly. Have a good weekend and take care?

15th Nov 2020, 9:28 AM
Murat Dıramalı
2 ответов
+ 1
Hello, your question isn't too clear. What's the problem with that?
15th Nov 2020, 10:09 AM
Slick
Slick - avatar