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 trialsamar shah
3,376 Pointsgame.py
I've copied the code from the video but when I run python game.py all it doesn't return the 'A1, B1, C1' etc. I'm not getting an error in the terminal either, very confused.
samar shah
3,376 Pointshere is my screenshot, forgot to add it yesterday, sorry
1 Answer
Rohald van Merode
Treehouse StaffHi samar shah 👋
Thanks for sharing your workspace! 🙂
Looks like your issue is happening on line 2 of your game.py
file. There seems to be an _
missing from your __init__
. Adding that should fix the issue and your code should start working as expected 😃
Hope this helps!
samar shah
3,376 PointsLOL, thanks alot!!! can't believe I missed that!
Steven Parker
231,269 PointsSteven Parker
231,269 PointsIt's important to share your code so it can be seen by people answering. You might want to take a look at this video about Posting a Question. And for when your question refers to something you are doing in a workspace, you may also want to view this one about sharing a snapshot of your workspace.