A practical Python calculator project built to improve programming skills through real-world development.
- ➕ Addition
- ➖ Subtraction
- ✖️ Multiplication
- ➗ Division
- 📜 Calculation history
- 💾 Persistent history storage
- 🖥️ Command-line interface
- ⚡ Fast and lightweight
- Python
- JSON
- Git
- GitHub
smart-calculator-python/
│
├── main.py
├── history.json
├── README.md
└── .gitignore
🚀 Getting Started
1. Clone the repository
git clone https://github.com/dipeshkashyap/smart-calculator-python.git
2. Enter the project
cd smart-calculator-python
3. Run the calculator
python main.py
💡 Example
Enter first number: 25
Enter operator: *
Enter second number: 4
Result: 100
📜 Calculation History
The calculator stores previous calculations so they can be accessed later.
History is stored locally using a JSON file.
🎯 Purpose
This project was created as a practical Python learning project.
The main goals are:
Improve Python programming
Practice file handling
Work with JSON data
Understand Git and GitHub
Build a real-world command-line application
🔮 Future Improvements
Possible future improvements include:
Scientific calculations
Better error handling
GUI interface
More mathematical operations
Unit conversion
Exportable calculation history
👨💻 Author
Dipesh Kashyap
🌐 Portfolio: https://dipeshkashyap.github.io/
💼 LinkedIn: https://www.linkedin.com/in/dipeshkashyap/
🐙 GitHub: https://github.com/dipeshkashyap
---
⭐ If you find this project useful, consider giving it a star!