Very advanced Python calculator.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Mikołaj Lubiak a3dd38a438 Added brackets inside brackets, powers, squared roots support for C++. 7 days ago
LICENSE Initial commit. 2 weeks ago
README.md Added brackets inside brackets, powers, squared roots support for C++. 7 days ago
calc.cpp Added brackets inside brackets, powers, squared roots support for C++. 7 days ago
calc.py Added brackets inside brackets, powers, squared roots support for C++. 7 days ago

README.md

Calculator

Very advanced calculator in Python and C++.

Keeps order of operation.

Usage ./calc.py "( 3 ** 4 * ( 5 / // 6 ) ) + 7 - 8" or ./calc "( 3 ** 4 * ( 5 / // 6 ) ) + 7 - 8", returns 164.34055763786452