class Calculator: def calculate(self, expression): self.value = eval(expression)class Talker: def talk(self): print 'Hi, my value is', self.valueclass TalkingCalculator(Calculator, Talker): pass
Name (required)
email (will not be published) (required)
Website