GitHunt
KA

KalyanM45/Basic-Calculator

This is a basic web calculator built using Flask, a Python web framework. The application allows users to perform simple arithmetic operations such as addition, subtraction, multiplication, and division.

Flask Calculator

This is a basic web calculator built using Flask, a Python web framework. The application allows users to perform simple arithmetic operations such as addition, subtraction, multiplication, and division.

Features

  • Addition: Performs the addition of two numbers.
  • Subtraction: Performs the subtraction of the second number from the first.
  • Multiplication: Performs the multiplication of two numbers.
  • Division: Performs the division of the first number by the second (handling division by zero).

How to Use

  1. Clone the repository to your local machine:

    git clone https://github.com/your-username/flask-calculator.git
    
  2. Navigate to the project directory:

    cd flask-calculator
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Run the Flask application:

    python app.py
    
  5. Open your web browser and go to http://localhost:5000 to access the calculator.

Usage

  • Enter the first number in the "Number 1" input field.
  • Enter the second number in the "Number 2" input field.
  • Select the desired operation from the dropdown menu.
  • Click the "Calculate" button to see the result.

Contributing

If you'd like to contribute to this project, feel free to fork the repository and submit a pull request. Issues and feature requests can be submitted through the GitHub issue tracker.

License

This project is licensed under the MIT License.


Make sure to replace "your-username" in the clone URL with your actual GitHub username. Also, include a LICENSE file if you have a specific license for your project.

Languages

HTML42.6%Python35.8%CSS21.7%

Contributors

GNU General Public License v3.0
Created November 17, 2023
Updated February 15, 2026
KalyanM45/Basic-Calculator | GitHunt