Skip to content

Flup3r/PyCalc-Revival

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

PyCalc-Revival

Advanced Calculator

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.

Features

  • 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)

Installation

  1. Clone the repository: git clone https://github.com/your-username/advanced-calculator.git cd advanced-calculator

  2. Run the calculator: python calculator.py

Usage

When you run the calculator, you will be prompted to choose an option and input numbers. The available options are:

  1. Addition
  2. Subtraction
  3. Multiplication
  4. Division
  5. Sum of a list of numbers
  6. Average of a list of numbers

Example

Hello ~Calculator! Choose option:

  1. Addition
  2. Subtraction
  3. Multiplication
  4. Division
  5. Sum of a list of numbers
  6. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages