Skip to content

command-line calculator that takes in mathematical expressions as input and evaluates them. The calculator should support basic arithmetic operations (+, -, *, /) and should be able to handle expressions with parentheses.

Notifications You must be signed in to change notification settings

BrianTukei/Building-a-Command-Line-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Calculator Introduction A simple command line calculator built with Python. This calculator allows users to perform basic arithmetic operations like addition, subtraction, multiplication, and division.

Deployed Site Not applicable (command line application)

Final Project Blog Article Read all about my development and features in my https://www.linkedin.com/posts/tukei-brian-251821278_building-a-command-line-calculator-with-python-activity-7216421628694437888-776j?utm_source=share&utm_medium=member_android

Author(s) Developed by Tukei Brian https://github.com/BrianTukei

Installation To use the calculator, follow these steps: Clone the repository: `git clone https://github.com/BrianTukei/Building-a-Command-Line-Calculator Install the dependencies: pip install -r requirements.txt Run the application: python https://github.com/BrianTukei/Building-a-Command-Line-Calculator

Usage Run the calculator using the command python (link unavailable). Then, simply type your mathematical expression, using the following operators:

  • for addition
  • for subtraction
  • for multiplication / for division Example: 2 + 3 or 10 - 4

Contributing Contributions are welcome! Please open an issue or submit a pull request.

Related Projects Python Calculator https://github.com/BrianTukei/Building-a-Command-Line-Calculator Landing Page https://github.com/BrianTukei/Building-a-Command-Line-Calculator-Landing-page.git

Licensing Licensed under the .Licensing

This project is licensed under the MIT License. See the LICENSE file for details.

Resources Building a Command Line Calculator in Python https://github.com/BrianTukei/Building-a-Command-Line-Calculator

About

command-line calculator that takes in mathematical expressions as input and evaluates them. The calculator should support basic arithmetic operations (+, -, *, /) and should be able to handle expressions with parentheses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages