(self, states)
first state is the initial state
first state is the initial state
first state is the initial state
def __init__(self, states):
        """first state is the initial state"""
        if len(states) > 0:
            self.state = states[0]
        self.states = states
def __init__ ( self , states ) : if len ( states ) > 0 : self . state = states [ 0 ] self . states = states