According to the following code which pattern will be generated on the console?

# init matrix

for i in range(6):

row = []

for j in range(6):

if(i%2 ==0 or j%2 == 0):

row.append(0)

else:

row.append(1)

matrix.append(row)

for i in range(6):

for j in range(6):

print(matrix[i][j], " ",end="")

print("\n")
a)
0 0 0 0 0 0

0 1 1 1 0 1

0 1 1 1 0 1

0 1 1 1 0 1

0 0 0 0 0 0

0 1 1 1 0 1

b)
0 0 0 0 0 0

0 1 0 1 0 1

0 0 0 0 0 0

0 1 0 1 0 1

0 0 0 0 0 0

0 1 0 1 0 1

c)
0 0 0 0 0 0

0 1 1 0 1 1

0 1 1 0 1 1

0 0 0 0 0 0

0 1 1 0 1 1

0 1 1 0 1 1

d)
0 0 0 0 0 0

0 0 0 0 0 0

0 0 0 0 0 0

0 0 0 0 0 0

0 0 0 0 0 0

0 0 0 0 0 0