[[' ' for _ in range(9)][i*3:(i+1)*3] for i in range(3)]
I've run this code in anaconda but how this thing worked I couldn't understand.
Can anyone please explain how does this little piece of code worked?
[[' ' for _ in range(9)][i*3:(i+1)*3] for i in range(3)]
I've run this code in anaconda but how this thing worked I couldn't understand.
Can anyone please explain how does this little piece of code worked?