<span class="s1">&#39;sunny&#39;</span><span class="p">]</span>

<span class="gp">In [9]: </span><span class="n">transition_matrix</span> <span class="o">=</span> <span class="n">numpy</span><span class="o">.</span><span class="n">array</span><span class="p">([[</span><span class="mf">0.1</span><span class="p">,</span> <span class="mf">0.9</span><span class="p">],</span>
<span class="gp">   ...: </span>                                 <span class="p">[</span><span class="mf">0.8</span><span class="p">,</spa