I have two inherited classes in another class
Class A(object):
def printhello(self):
self.message1="hello"
Class B(object):
def printbye(self):
self.message2="bye"
Class C(A,B):
def __init__(self):
super(C,self).printhello()
def printboth(self):
print(self.message1)
print(self.message2)
a = A()
b = B()
c = C()
c.printboth()
How do I super both A and B?, note this is just an example code.