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.
Challenge exercise solution! Any feedback?
I leave the workspace link
Steven Parker210,425 Points
You're close, but:
- you need to do the more complex test (FizzBuzz) first or it won't ever be reached
- the plain "else" at the end does not need (and should not have) a conditional expression
- to be controlled by the "else", the "print" statement following it must be indented
Thanks a lot for your feedback! I was happy that the code runs, I’m gonna se the solution to see how the teacher does it and thanks for the advice and to take time to reply me 🤙