I created a dictionary m of 3 10x10 matrices
and I wanted to print something if AB(C)==(AB)C so
if (m[0]@m[1])@m[2]==m[0]@(m[1]@m[2]): print("yes!")