This is a desktop application developed as a visually faithful clone of the native iOS Calculator interface. Built entirely in Python 3 using the Tkinter library, the project focuses on replicating the aesthetic, layout, and user experience of the mobile application.
[screenshots...]
The project is lightweight and does not require external Python dependencies, as it uses the standard tkinter library.
- Python 3.x (Version 3.6 or higher recommended).
- Tkinter (Usually included with the standard Python installation).
- Clone the repository
git clone https://github.com/lukatinarelli/iOS-Calculator.git
cd iOS-CalculatorNote
No additional Python modules need to be installed.🚀
Simply run the main script to start the calculator's graphical interface.
python3 calculadora.py| Button | Function |
|---|---|
AC |
Clears the entire display (All Clear). |
C |
Deletes the last digit or the last command. |
0-9, . |
Number and decimal input. |
+, -, *, / |
Basic arithmetic operations. |
= |
Evaluates the current expression. |
^ |
Exponentiation (Power). |
% |
Percentage operation. |
This is the checklist of functionalities and improvements planned for future versions:
- Interface: Complete visual structure, including round buttons and iOS colors.
- Input: Restrict input to the interface (keyboard lock).
- Calculation Logic: Implement the logic for expression evaluation (=).
- 'C' Button: Implement the functionality to delete the last digit.
- Special Functions: Implement percentage (%) and power (^) operations.
- UX (User Experience): Add robust handling for division-by-zero or invalid syntax errors.
This project is licensed under the MIT License.