import numpy as np
sets = [[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 1, 0, 0]]
temp = sets
# print(np.dot(A, A))
for i in range(len(sets)+1):
    for k in range(len(sets)):
        if temp[k][k] >= 1:
            print('True')
    temp = np.dot(temp, sets)
    print(temp, ' ')

880e519a99f59099f04363957e23b395286c87b8
<mask token>

<mask token>
for i in range(len(sets) + 1):
    for k in range(len(sets)):
        if temp[k][k] >= 1:
            print('True')
    temp = np.dot(temp, sets)
    print(temp, ' ')

<mask token>
sets = [[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 1, 0, 0]]
temp = sets
for i in range(len(sets) + 1):
    for k in range(len(sets)):
        if temp[k][k] >= 1:
            print('True')
    temp = np.dot(temp, sets)
    print(temp, ' ')

import numpy as np
sets = [[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 1, 0, 0]]
temp = sets
for i in range(len(sets) + 1):
    for k in range(len(sets)):
        if temp[k][k] >= 1:
            print('True')
    temp = np.dot(temp, sets)
    print(temp, ' ')

import numpy as np
sets = [[0, 0, 1, 0], [1, 0, 0, 0], [0, 1, 0, 0], [0, 1, 0, 0]]
temp = sets
# print(np.dot(A, A))
for i in range(len(sets)+1):
    for k in range(len(sets)):
        if temp[k][k] >= 1:
            print('True')
    temp = np.dot(temp, sets)
    print(temp, ' ')
