working with dictionary in python
<p>I have this dictionary </p>

<pre><code>goodDay= {'Class':[1,1,0,0,0,1,0,1,0,1], 'grade':[1,0,0,1,0,1,0,1,0,1]}
</code></pre>

<p>I want to traverse the values of first key and also of second and put this condition to check:</p>

<p>If value of K2 is <code>1</code> how many times is K1 is <code>1</code> and K1 is <code>0</code> 
and if K2 is <code>0</code> how many times is K1 is <code>0</code> and K1 is <code>1</code>.</p>
