A sleek, modern, and fully responsive mobile-style calculator web application built with Streamlit and Python, featuring seamless layout alignment, smooth state management, and an intuitive user experience.
- 🔢 Core Arithmetic: Perform precise Addition (
+), Subtraction (-), Multiplication (*), and Division (/). - 📱 Mobile-Optimized Layout: Clean phone-card interface with harmonized grid alignment designed specifically for web and mobile screens.
- 🛡️ Robust Error Handling: Graceful prevention and handling of edge cases (such as division by zero).
- 🧹 Clear & Backspace: Quick reset (
C) and single-digit deletion (⌫) capabilities. - 💡 Expression History: Live preview of ongoing calculations directly on the display screen.
- Python 3.x installed on your system.
- Clone or download the repository and navigate to the project directory.
- Install the required dependencies:
pip install -r requirements.txt- Run the Streamlit application:
streamlit run app.pypython-calculator/
│
├── app.py # Streamlit web application & calculator logic
├── requirements.txt # Project dependencies for deployment
└── README.md # Project documentation