Skip to content

CodeWithHamzaa/Python-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Simple Python Calculator

This is a simple command-line calculator program written in Python. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division (with error handling for division by zero)

Getting Started

To use the calculator, follow these steps:

  1. Clone the repository to your local machine.
  2. Run the calculator.py file in a Python environment.
  3. Follow the on-screen instructions to select the operation and input numbers.
  4. View the result displayed on the screen.

Usage

  • When prompted, enter the choice number corresponding to the operation you want to perform.
  • Enter the first number followed by the second number when prompted.
  • The calculator will display the result of the selected operation.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.

About

Simple command-line calculator program written in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages