code: def iterating_markov_chain(chain, state):
      """
      Yield a sequence of states given a markov chain and the initial state
      """
      while True:
          state = next_state(chain, state)
          yield state
  
label_desc: Use image node_id 3 for calling a global function with example usage: iterating_markov_chain(chain, state) without return types