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 trialoliverchou
20,886 PointsThere are bugs everywhere, anyone can help me?
here's my code(url): https://w.trhou.se/a08g1rg50v fileName: letter_game.py seems like the problem falls on the loop in the play function.
2 Answers
Steven Parker
231,236 PointsIt looks like you have an indentation error between lines 77 and 93.
The lines in that range seem to be indented one step too far, putting them inside the loop checking for a winner instead of after it.
oliverchou
20,886 Pointsoliverchou
20,886 Pointsthe code was nearly the same with the teacher's but it just doesn't work!