Skip to content

victrgab/python-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ Integer Calculator

A simple Python program to perform basic math operations directly in the terminal.


๐Ÿš€ Features

  • โž• Addition
  • โž– Subtraction
  • โœ–๏ธ Multiplication
  • โž— Division (with zero division handling)

๐Ÿ› ๏ธ Technologies

  • Python 3
  • Python standard libraries (os)

๐Ÿ“‚ Project Structure

calculator.py   # Main program file

โ–ถ๏ธ How to Run

  1. Make sure you have Python 3 installed.

  2. Clone this repository:

    git clone https://github.com/YOUR-USERNAME/integer-calculator.git
  3. Enter the project folder:

    cd integer-calculator
  4. Run the program:

    python calculator.py

๐Ÿ“ธ Example of Use

Integer Calculator

Enter a value: 10

1 - Add 10 with X
2 - Subtract 10 by X
3 - Divide 10 by X
4 - Multiply 10 with X
Choose the desired operation: 1

Enter a value to add with 10: 5
Result: 15

๐Ÿ”ฎ Future Improvements

  • Add a graphical user interface (Tkinter or PyQt)
  • Allow decimal numbers (float operations)
  • Create automated tests

๐Ÿ‘จโ€๐Ÿ’ป Author

Made with โค๏ธ by Victor Gabriel

About

A simple Python terminal calculator for basic math operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages