Exercise: Calculator


Create a script called basic2_calculator_input.py that accepts 2 numbers and an operator (+, -, *, /), and prints the result of the operation.


python calc.py
Operand: 19
Operand: 23
Operator: +
Results: 42