Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 Smart Calculator — Python

A practical Python calculator project built to improve programming skills through real-world development.

✨ Features

  • ➕ Addition
  • ➖ Subtraction
  • ✖️ Multiplication
  • ➗ Division
  • 📜 Calculation history
  • 💾 Persistent history storage
  • 🖥️ Command-line interface
  • ⚡ Fast and lightweight

🛠️ Technologies

  • Python
  • JSON
  • Git
  • GitHub

📂 Project Structure

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!

About

A Python-based smart calculator with calculation history and practical features.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages