🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀
✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python
Take our "AI in Tech Jobs" survey and win 3 months free Treehouse!
New No-Code Track! 🚀 New videos dropping every week—start learning today!
🤑 Join the Treehouse affiliate program and earn 25% commission!
When should you use a loop?
Choose the correct answer below:
When you want to run many lines of code by executing a single statement.
When you want to store multiple values in a variable.
When you want to run certain code only when a particular condition is true.
When you want to repeat the same set of actions a certain number of times.
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.