Machine Learning, Python.
future_states = [] for i in range(no): next_state = self.next_state(current_state) future_states.append(next_state) current_state = next_state return future_states Running this code should also give similar results to what you got in the previous section. Using a transition matrix might not seem