Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Just tested, still not working.
Expected: □ ■ □ ■
■ □ ■ □
□ ■ □ ■
■ □ ■ □, instead got: □ ■ □ ■
■ □ ■ □
□ ■ □ ■
■ □ ■ □
Would you like to see my code?
I too have the same problem as MacInnes, my expected and received outputs are the same. I even used split('') to see if there are any whitespaces but none that I can see.
If checkerboard(4)
My array to see if there any whitespaces at the end:
["□", " ", "■", " ", "□", " ", "■", "\n", "■", " ", "□", …]
Not sure where to go from here...