i'm suppose to write a program with two classes, the first class takes two numbers and adds them together. the second class has no methods but has an object called add2.
this is what i got
class Adder1 (object):
number1 = int(input("Give me a number:"))
number2 = int(input("Give me another number:"))
def add(self, sum):
self.sum = number1 + number2
class Adder2 (object, add2):
#add2 don't know what to do with it?
Print (add2.add(number1, number2))