Solutions will be available when this assignment is resolved, or after a few failing attempts.

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