solutions

Calculator Method

Create a class Calculator that has two methods add and subtract which receive two numbers and perform the intended operations (returning the value). Example:

c = Calculator()
c.add(2, 5)  # 7
c.subtract(9, 6)  # 3

Test Cases

tests

[]