Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python The Solution

Alejandro Montalvo
Alejandro Montalvo
1,436 Points

Used the exact method as Kenneth. The solution came out different.

I followed through Kenneth's solution like so:

Step 1: xo = 'xo' * 4 || ox = 'ox' * 4

Step 2: xoxo = [xo, ox] * 4

Step 3: print('/n'.join(xoxo))

When I run the file, instead of appearing like a chess board, it goes like this:

xoxoxoxo/noxoxoxox/nxoxoxoxo/noxoxoxox/nxoxoxoxo/noxoxoxox/nxoxoxoxo/noxoxoxox

Surely there must be some detail I am missing right now.

3 Answers

what happened to the first(starting with x)line?