A python calculator project to be cloned by CS 193 students
Clone this repository.
Allow execution of the
calc.pyfile:$ chmod a+x ./calc.pyExecute
calc.py:$ ./calc.pyor
$ python calc.pyFollow the instructions. Input the first number, then the operator symbol, then the second number. The result is displayed. (See Supported Operations)
| operator | function |
|---|---|
| + | addition |
| - | subtraction |
| * | multiplication |
| / | division |
See License.