Skip to content

itsarreguin/calc.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python calculator

readme-main-img




Usage


Clone repository

Use SSH key:

git clone [email protected]:itsarreguin/calc.py.git

Use HTTPS:

git clone https://github.com/itsarreguin/calc.py.git

Run in CLI

Access the folder

cd calc.py

Run code

Use the python or py command in Windows or use python3 in MacOS and Linux, followed by the filename

python calc.py

CLI screen

Python calculator¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
|                                                                    |
|    1- Sum                         |              4- Division       |
|    ------------------------------------------------------------    |
|    2- Subtraction                 |              5- Power          |
|    ------------------------------------------------------------    |
|    3- Multiplication              |              6- Square root    |
|--------------------------------------------------------------------|
|                                                                    |
|_____________________________________________________________ 7- Exit

Choose an option: |

Start use this simple calculator.

Made with ❤ in Python by @itsarreguin