Console calculator in Python with error handling
A simple but reliable console calculator program in Python.
What has been done:
- Support for basic mathematical operations: +, -, *, /
- Input error handling (if the user enters letters instead of numbers)
- Protection against division by zero
- Loop - allows performing multiple calculations in a row without restarting the program
- "exit" command to exit the program
- Clean code with comments
Technologies: Python 3
Link to GitHub:
https://github.com/t3615430-ar/python-simple-calculator
This is the second project in my portfolio. The first was a simpler calculator; in this one, I significantly improved functionality and reliability.
Ready to further develop the project (add operation history, save to file, or a Tkinter graphical interface).
What has been done:
- Support for basic mathematical operations: +, -, *, /
- Input error handling (if the user enters letters instead of numbers)
- Protection against division by zero
- Loop - allows performing multiple calculations in a row without restarting the program
- "exit" command to exit the program
- Clean code with comments
Technologies: Python 3
Link to GitHub:
https://github.com/t3615430-ar/python-simple-calculator
This is the second project in my portfolio. The first was a simpler calculator; in this one, I significantly improved functionality and reliability.
Ready to further develop the project (add operation history, save to file, or a Tkinter graphical interface).