mirror of
https://github.com/venomade/calculator.git
synced 2026-11-16 18:27:39 +00:00
Add repeatable calculator startup script
This commit is contained in:
1 parent
932e4a2e05
commit
f0c0ccc012
2 files changed
+6
-1
No files matched your search
@@ -6,10 +6,11 @@ It will run on `Python 3` via the `calculator.py` script.
|
||||
Add, subtract, multiply and divide two numbers; display the result.
|
||||
|
||||
## How to Run It
|
||||
Run: `python3 calculator.py`
|
||||
Run: `./run.sh`
|
||||
|
||||
## Usage
|
||||
- First enter a number
|
||||
- Then enter an operator (`+`,`-`,`*` or `/`)
|
||||
- Lastly enter a second number
|
||||
- Read the result, printed as `Result: ` followed by the answer.
|
||||
- When done stop with `Ctrl+c`
|
||||
Reference in new issue
Block a user