This project is an advanced calculator written in Python. It supports basic arithmetic operations, operations on lists of numbers, and includes input validation and error handling.
- Basic arithmetic operations: addition, subtraction, multiplication, and division
- Operations on lists of numbers: sum and average
- Input validation
- Error handling (e.g., division by zero)
-
Clone the repository: git clone https://github.com/your-username/advanced-calculator.git cd advanced-calculator
-
Run the calculator: python calculator.py
When you run the calculator, you will be prompted to choose an option and input numbers. The available options are:
- Addition
- Subtraction
- Multiplication
- Division
- Sum of a list of numbers
- Average of a list of numbers
Hello ~Calculator! Choose option:
- Addition
- Subtraction
- Multiplication
- Division
- Sum of a list of numbers
- Average of a list of numbers Insert Option (1/2/3/4/5/6): 1 Insert first number: 10 Insert second number: 5 Result: 15.0