Skip to content

3b1g/arithmetic-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Arithmetic Calculator

This simple calculator allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. Users can choose an operation, input operands, and receive the result.

About

This project showcases the implementation of basic arithmetic operations using Python. It utilizes a list to store operation names and uses nested conditional statements to perform the selected operation. The calculator also handles division by zero.

Usage

  1. Run the script.
  2. Select the desired arithmetic operation by entering the corresponding number.
  3. Input the required operands.
  4. Receive the result of the selected operation.

Constants

  • MINI_VALUE: Minimum valid operation number.

Arithmetic Operations

  • Addition
  • Subtraction
  • Multiplication
  • Division

Connect with Me

Feel free to connect with me on LinkedIn.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages