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 trialFemi Lamptey
12,149 PointsWorkspace seems to have a bug
Everytime I use my workspace, I run the simple hello world with the print function and the console tells me , 'Error line 2....syntax'. However, I have no error. This has been happeneing for weeks and I cant practice and learn effectively
Femi Lamptey
12,149 Pointsok
Femi Lamptey
12,149 Pointshttps://w.trhou.se/izmjl2vs7d The snapshot does not display the console I used the hello.py folder
1 Answer
Steven Parker
231,261 PointsThe workspace, including the console, is replicated when you "fork snapshot".
The syntax error is caused by unmatched parentheses in the "hello.py" file (which is not a "folder"):
print("Hello, World" # as in the snapshot
print("Hello, World") # fixed
Steven Parker
231,261 PointsSteven Parker
231,261 PointsShow your actual code and maybe we can help. Even better, make a snapshot of your workspace and post the link to it here.