Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 580 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 580 Bytes

DERFACT-calc

A simple command line calculator.

Usage

To run the calculator

python3 calc.py

To exit the calculator, type "exit" in the expression line

To calculate a single expression

python3 calc.py [expression]

To calculate multiple expressions

python3 calc.py -m [expression1] [expression2] [expression3]

Operations

This calculator supports the same mathematical operations as Python 3

Usage examples

https://github.com/DERFACT/DERFACT-calc/blob/main/usage-examples.png