def go(self, state, direction):
        "Return the state that results from going in this direction."
        state1 = vector_add(state, direction)
        return if_(state1 in self.states, state1, state)
def go(self, state, direction):
        "Return the state that results from going in this direction."
        state1 = vector_add(state, direction)
        return if_(state1 in self.states, state1, state)
def go ( self , state , direction ) : state1 = vector_add ( state , direction ) return if_ ( state1 in self . states , state1 , state )
Return the state that results from going in this direction.
Return the state that results from going in this direction .