Skip to content

nazgul-beta/python-calci-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Simple Calculator

This Python script is a simple calculator that allows for basic arithmetic operations such as addition, subtraction, multiplication, division, and average calculation. It takes user input to perform the desired operation and displays the result.

Usage

  1. Run the script:

    python main.py
  2. Follow the prompts to choose an operation and input the required numbers.

  3. View the result of the selected operation.

Available Operations

  • Addition (1): Sum of multiple numbers.
  • Subtraction (2): Difference between two numbers.
  • Multiplication (3): Product of multiple numbers.
  • Division (4): Quotient of two numbers.
  • Average (5): Average of multiple numbers.

Exiting the Calculator

To exit the calculator, enter -1 when prompted for your choice.

Note

This calculator clears the console after each operation for a better user experience. While showing the result it waits for 5 seconds before switching to next prompt

About

python calculator project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages