Introduction :
simple calculator program built in python,it can do 7 difference arithmetic operators with two numbers
Install :
First intall requirements:
pip install -r requirements.txt
Run help list :
python3 s_cal.py -h
Or :
python3 s_cal.py --help
output:
█▀ ▄▄ █▀▀ ▄▀█ █░░
▄█ ░░ █▄▄ █▀█ █▄▄
[code]Box - Andrei A. Abd 2022
[*] Introduction:
simple calculator built in python,it can do 7 difference arithmetic operators with two numbers.
[*] Source: https://github.com/codeBOX-projects
[*] Usage Examples: [First Number] [Arthimetic Operator] [Secon Number]
> Addition : 100 + 50
> Subtraction : 100 - 50
> Multiplication : 100 * 50
> Division : 100 / 50
> Modulus : 100 % 50
> Exponentiation : 100 ** 50
> Floor division : 100 // 50
positional arguments:
num1 First Number.
math_value Arithmetic Operators.
num2 Second Number.
options:
-h, --help show this help message and exit
Usage & Examples :
[First Number] [Arthimetic Operator] [Secon Number]
-
python3 s_cal.py 100 "+" 50 -
python3 s_cal.py 100 "-" 50 -
python3 s_cal.py 100 "*" 50 -
python3 s_cal.py 100 "/" 50 -
python3 s_cal.py 100 "%" 50 -
python3 s_cal.py 100 "**" 50 -
python3 s_cal.py 100 "//" 50
codeBOX@usr:~/python3 s_cal.py 100 "+" 50
codeBOX@usr:~/[+] Resulte: 150
Support distrebution :
- Linux os.
- Termux.
[code]BOX | Andrei A. Abd | 1993 - 2022