- Supports +, -, *, / and ^ operation of polynomial.
- Runs under Python 2.6+ and Python 3.x.
# ./main.py
pycalc v1.0 on Linux (CPython v2.7.3)
> 1+2+6*8
= 51
(0.0016 seconds used)
> 2^2^3
= 256
(0.0002 seconds used)
> (a+b)(a^2-ab+b^2)
= a^3 + b^3
(0.0026 seconds used)
> (a+b)^3
= a^3 + 3a^2b + 3ab^2 + b^3
(0.0028 seconds used)
> quit