/pycalc

A python calculator project to be used by CS 190 students.

Primary LanguagePythonMIT LicenseMIT

pycalc

A python calculator project to be cloned by CS 193 students

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.