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.

Anthony Lakin
11,687 PointsThere seems to be no correct answer out of the four options listed for this question.
Q: Given the code below, what will print out to the console?

Anthony Lakin
11,687 PointsIt is now working properly after another attempt because it has finally accepted the correct answer when I selected it. So no further help is required.
Thank you
1 Answer

Steven Parker
220,634 PointsI'm guessing that in your first attempt you just got the loop types confused. The question itself is the same, but the examples are slightly different and the correct answers are also different as a result.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherThere are two separate questions that begin this way. Each one of them has a different answer and they both do have a correct answer. Because the questions are presented in a random order it's impossible to know to which one you are referring. Can you please supply the rest of the question text?