Skip to content

AndrejStojkovic/CalculatorCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

CalculatorCLI

A CLI (Command Line Interface) based Calculator made in Python.

Prerequisites

  • Python
  • No additional dependencies required

Usage

List of commands for the CalculatorCLI:

-h, --help                show this help message and exit
--add ADD [ADD ...]       Addition function.
--sub SUB [SUB ...]       Subtraction function.
--mul MUL [MUL ...]       Multiplication function.
--div DIV [DIV ...]       Division function.
--sqrt SQRT [SQRT ...]    Square Root function. Takes 1 argument.
--cbrt CBRT [CBRT ...]    Cube Root function. Takes 1 argument.
--pow POW [POW ...]       Power function. Takes 2 arguments.
--avg AVG [AVG ...]       Average of numbers function.
--abs ABS [ABS ...]       Absolute value function.
--sin SIN [SIN ...]       Sine function. Takes 1 argument.
--cos COS [COS ...]       Cosine function. Takes 1 argument.
--tan TAN [TAN ...]       Tangent function. Takes 1 argument.
--asin ASIN [ASIN ...]    ASIN function. Takes 1 argument.
--acos ACOS [ACOS ...]    ACOS function. Takes 1 argument.
--atan ATAN [ATAN ...]    ATAN function. Takes 1 argument.
--log LOG [LOG ...]       Logarithmic function. Takes 2 arguments. (Num and Base)
--loge LOGE [LOGE ...]    Logarithmic function with base 'e'. Takes 1 argument
--log10 LOG10 [LOG10 ...] Logarithmic function with base 10 default. Takes 1 argument

About

A CLI (Command Line Interface) based Calculator made in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages