Show the code:
class state():
    def __init__(self):
        print('in the state class')
        self.state = "main state"
class event():
    def __init__(self):
        print("in the event class")
        self.event = "main event"
class happystate(state,event):
    def __init__(self):
        print('in the happy state class')
        super(state,self).__init__()
        super(event,self).__init__()
happystate has two base class--state and event,initialize the happystate.
a = happystate()
in the happy state class
in the event class
Why can't call state class?
 
     
    