Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Python Basics (2015) Logic in Python Fully Functional

trouble with python workspace?

def hows_the_parrot(): print("hes pining for the")

hows_the_parrot()

thats the code i'm writing, i'm literally going step by step with ken exactly how he does it. But for example his "hes pining for the" is green, mine is not mine is just standard black text, and my hows_the_parrot is also just black text and his is a different color??

nakalkucing
nakalkucing
12,964 Points

That's right! You always have to save the file before entering it into the shell area. But as a side note, your code is almost unreadable here. Take a look at the Markdown Cheatsheet to see how to fix this. Hope this helps, Nakal

1 Answer

solved it, i guess i needed to save the file before entering it into the shell area?