I have this dictionary
goodDay= {'Class':[1,1,0,0,0,1,0,1,0,1], 'grade':[1,0,0,1,0,1,0,1,0,1]}
I want to traverse the values of first key and also of second and put this condition to check:
If value of K2 is 1 how many times is K1 is 1 and K1 is 0
and if K2 is 0 how many times is K1 is 0 and K1 is 1.