shah334 / pycalc

A python calculator project to be cloned by CS 190 students

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pycalc

A python calculator project to be cloned by CS 190 students <<<<<<< HEAD <<<<<<< HEAD

How to Use

  1. Clone this repository.

  2. Allow execution of the calc.py file: $ chmod a+x ./calc.py

  3. Execute calc.py:

    $ ./calc.py
    

    or

    $ python calc.py
    
  4. Follow the instructions. Input the first number, then the operator symbol, then the second number. The result is displayed. (See Supported Operations)

Supported Operations

operator function
+ addition
- subtraction
* multiplication
/ division

License

See License.

parent of afea918... Initial commit ======= parent of afea918... Initial commit

About

A python calculator project to be cloned by CS 190 students

License:MIT License