- Equations are strictly evaluated left to right (so don't be surprised when it can't accurately compute more complex equations)
- Equations must be entered WITHOUT spaces. For example:
Correct
:>>> 4+3/99+4
Incorrect
:>>> 5 + 4 + 99 - 33 * 4
- Parenthesis are not yet included (this requires a lot of more work to validate. I encourage anyone to try though. You'll have to use a more advanced algorithm).
- Fork the repo by clicking the fork logo on top right
- Clone the repo
git clone [email protected]:AseanK/beginner-python-games.git
- Head to the calculator folder
- Run the file using python command
python calc.py