Skip to content

Commit af7991f

Browse files
Update README.md
1 parent 32ec8c9 commit af7991f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

README.md

-10
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,4 @@
22

33
# Task-02 CALCULATOR :- Design a simple calculator with basic arithmetic operations. Prompt the user to input two numbers and an operation choice. Perform the calculation and display the result.
44

5-
# Task 2 (Calculator)
6-
We developed a basic Calculator application using Tkinter and input field, buttons and for the calculation purpose we will use logic in our code defined in functions, like if you want to add two numbers then behind this there must be a logic for addition purpose, similarly for substraction, multiplication, etc, we have created functions whose task is to perform these operations.
75

8-
There are a variety of functions in Tkinter with the help of them it becomes easy and convenient to make a simple calculator just with this little code.
9-
Apart from the Tkinter widgets, we have defined the following functions in our code:
10-
11-
btn_click() Function: This function handles the button click on various numeric buttons to add them to the operation.
12-
13-
bt_clear() Function: This function is used to handle the clear operation to clean the previous input in the Calculator application.
14-
15-
bt_equal() Function: This function is used to handle the equal button to execute the operation and show the result.

0 commit comments

Comments
 (0)