Calculator-in-python3-tkinter
Calculator-in-python3-tkinter copied to clipboard
Code Update
Changes:
• Fixed Code • Added better Readme.md that helps the people interested in this repository understand your project better.
Previous code:
def clrbut():
textin.set('')
Explanation: After I click CE button then the numbers are just got hidden from the user side... Later when I click any number then the old number shows up again. which will be a problem for calculation and needs to rerun the application.
Code Fix:
def clrbut():
global operator
operator = ""
textin.set("")
Explanation: What this does is when I click CE button, It not only removed the numbers from the user side but also removes it from the backend side...