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 Meet Python Input and Coding Style

Input Command doesn't work...

I did exactly what Craig did in the video for the input command, yet it just came up as a syntax error for me.

Steven Parker
Steven Parker
244,136 Points

We need to replicate your issue so we can help.
Here's a video about making a snapshot of your workspace and sharing a link to it.

Alex Davis
Alex Davis
189 Points

This is still broken. current_mood = input("How are you today? ") still throws bash: syntax error near unexpected token `('

1 Answer

Steven Parker
Steven Parker
244,136 Points

This isn't a bash command. You probably want to be running Python.

So type "Python" first, and then you can give it your code line.