A sleek command-line calculator with Smart Mode, memory recall, and expression history. Built for speed and simplicity.
Clone the repository and install dependencies (if any):
git clone https://github.com/crypt0chris/calculator-cli.git
cd calculator-cliRun the calculator script:
python3 main.pySmart Mode is enabled by default. Enter full expressions like 81 / 9, then use memory/history functions as prompted.
Press y when asked to calculate again. Type n or press Ctrl+C to exit.
- 🧠 Smart Mode: Enter full expressions like
81 / 9 - 💾 Memory: Save (M+), Recall (MR), Clear (MC)
- 🕘 History: View past calculations (H)
- 🛡️ Input validation: Blocks unsafe expressions
- 🔄 Continuous calculations without relaunching
- ⚡ Fast and lightweight
This project is licensed under the MIT License.