Skip to content

Code Update#10

Open
Jiya-Ull-Haq wants to merge 5 commits intoabhishek305:masterfrom
Jiya-Ull-Haq:master
Open

Code Update#10
Jiya-Ull-Haq wants to merge 5 commits intoabhishek305:masterfrom
Jiya-Ull-Haq:master

Conversation

@Jiya-Ull-Haq
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant