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 trialAnthony 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
231,275 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?