This repository contains a basic calculator implementation using Python and hosted on Streamlit. It provides a simple user interface to perform arithmetic calculations.
- Addition: Perform addition of two numbers.
- Subtraction: Perform subtraction of two numbers.
- Multiplication: Perform multiplication of two numbers.
- Division: Perform division of two numbers.
- Open the Streamlit App.
- Enter the first number in the input field.
- Select the arithmetic operation you want to perform.
- Enter the second number in the input field.
- Click the "Calculate" button to get the result.
- The result will be displayed below the button.
To run the calculator locally, follow these steps:
-
Clone the repository:
git clone /~https://github.com/deepankarvarma/basic-calculator.git
-
Navigate to the project directory:
cd basic-calculator
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
-
Open your browser and visit
http://localhost:8501
to access the calculator.
- Python
- Streamlit
Contributions are welcome! If you find any bugs or want to add new features, please open an issue or submit a pull request.
This project is licensed under the MIT License.