Skip to content

Commit 021bc21

Browse files
Create README.md
1 parent f3c3ca1 commit 021bc21

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Smart Calculator
2+
3+
## Aim:
4+
5+
-To create a Smart Calculator using python tkinter(GUI).
6+
7+
## Purpose:
8+
9+
- To enable user to enter the operations in words so that calculator can perform operations like add,subract,multiply,divide,hcf,gcd and modulus on given input.
10+
11+
## Description:
12+
13+
- This project is to build a smart Calculator using python tkinter
14+
- For this game, we will need to import Python modules one for creating GUI.
15+
- For GUI we will use **"tkinter module"**..
16+
17+
## About this Game:
18+
19+
- When we Run this application
20+
- First the user will Enter the input in words for eg: "add 9 and 8", "hcf of 12 and 3"
21+
- Click on just this button to get the output
22+
- Output will be displayed in a box below
23+
24+
## Procedure:
25+
```python
26+
from tkinter import *
27+
```
28+
- After importing modules, we will create a functions for all operations.
29+
- set tha attributes for windows.
30+
- set the dictionary with all possible operations.
31+
- Now create a function for splitting the user input and match the operations with that in dictionary and perform respective arithmetic operations on the given user input
32+
- Display the Result
33+
34+
## Compilation Steps:
35+
36+
- Install python.
37+
- Import the neccessary modules and run the program.
38+
39+
## Sample Output:
40+
![Image](https://github.com/coding-geek21/Awesome_Python_Scripts/blob/main/GUIScripts/Smart%20Calculator/Images/smart_calculator1.jpg)
41+
42+
43+
![Image](https://github.com/coding-geek21/Awesome_Python_Scripts/blob/main/GUIScripts/Smart%20Calculator/Images/smart_calculator2.jpg)
44+
45+
## Author:
46+
47+
[@coding-geek21](https://github.com/coding-geek21)

0 commit comments

Comments
 (0)