Join our free workshop and get a Treehouse discount code! 💼 Register here!
🤑 Join the Treehouse affiliate program and earn 25% recurring commission!
When should you use a loop?
Choose the correct answer below:
When you want to store multiple values in a variable.
When you want to repeat the same set of actions a certain number of times.
When you want to run certain code only when a particular condition is true.
When you want to run many lines of code by executing a single statement.
There was an error while reporting the question. Please try again, or contact support directly.
Describe the issue (optional) (required)
Your feedback has been submitted. Thank you!
If you continue experiencing problems, please contact support at help@teamtreehouse.com.
Quizzes are the best way to test your knowlege. Sign up for Treehouse today and prove yourself. We guarantee 100% satisfaction.