Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
x = [
"".join( #6
[
"".join( #3
[
"01"[(i + j) % 2] * k #1
for i in range(n) #2
]
) + "\n" #4
] * k #5
)
for j in range(n) #7
]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question