Skip to content

A simple command-line calculator implemented in Python

Notifications You must be signed in to change notification settings

ozzyib/python-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python Calculator

This is a simple command-line calculator implemented in Python. It supports basic arithmetic operations such as addition, subtraction, multiplication, and division.

Installation

To get started, clone the repository and navigate to the python-calculator directory:

git clone <repository-url>
cd python-calculator

Then, install the required dependencies:

pip install -r requirements.txt

Usage

You can run the calculator by executing the following command:

python src/calculator.py

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division

Examples

  1. Addition: 2 + 3 results in 5
  2. Subtraction: 5 - 2 results in 3
  3. Multiplication: 4 x 2 results in 8
  4. Division: 8 / 2 results in 4

Contributing

Feel free to submit issues or pull requests to improve this project.

About

A simple command-line calculator implemented in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages