Skip to content

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.

License

Notifications You must be signed in to change notification settings

KalyanM45/Basic-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published