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 Python Basics Types and Branching String Methods

Workspace 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

Steven Parker
Steven Parker
231,236 Points

Show your actual code and maybe we can help. Even better, make a snapshot of your workspace and post the link to it here.

ok

https://w.trhou.se/izmjl2vs7d The snapshot does not display the console I used the hello.py folder

1 Answer

Steven Parker
Steven Parker
231,236 Points

The 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