I developed a command-line calculator using Python that supports several arithmetic operations including addition, subtraction, multiplication, division, exponentiation, modulus, and floor division. The calculator includes input validation, error handling for division by zero, and user interaction through terminal input. Each operation is implemented in a separate function to ensure modularity and clean code structure.
This project reflects my understanding of basic programming principles such as control flow, functions, exception handling, and user input processing in Python.
Duration:
Approximately one week
Technologies Used:
Python – VS Code – Command Line Interface (CLI