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.
Create a function called my_first_function. Inside the function body, indent 4 spaces and write the word "pass".
anyone can tell me why the code is not working
def my_first_function(): pass
Note sure. I copy/pasted your code into the challenge and it passed.
I don't know what happend It still not working
Still doesn't work for me - is this a bug?
you need to leave 4 spaces ____pass
Benjamin Gooch20,365 Points
I'm working on this same one and it says:
Bummer: Whoops - did you create a function called
This is clearly a problem... Any suggestions on how to progress past this?