curriculum/challenges/english/blocks/learn-about-speculation-and-requests/67efb452f0848b1638b9764d.md
Read the text and answer the question below.
Sophie wanted to remind the team about the requirements they must follow. Here's her email:
Subject: Reminder: Follow the Requirements Carefully
Hi team,
I hope you're all doing well! I wanted to send a quick reminder about the key requirements we must follow when submitting our code. To ensure everything runs smoothly, we must be thorough and follow these steps:
1. Use the correct loop structure - In some cases, a while loop should be used instead of a for loop to account for all edge cases. Please review the logic carefully before submitting your code.
2. Include comments - You should add clear comments explaining complex parts of your code. This makes it easier for others to understand and maintain.
3. Run the test suite - Before submission, you must run all tests. This could help catch errors early and save time later.
Let's make sure we follow these guidelines to maintain code quality and avoid unnecessary issues. If you have any questions, feel free to reach out!
Best,
Sophie
Why does Sophie mention using the correct loop structure?
To make the code longer.
Sophie wants the code to be accurate and efficient, not unnecessarily long.
To ensure all edge cases are considered.
To avoid using loops in the code.
Loops are necessary and choosing the right type of loop is important.
To reduce the number of comments needed.
Using the correct loop improves logic but does not replace the need for comments.
2
Sophie highlights the importance of choosing the correct loop structure so that all edge cases are handled properly.
Focus on the first key requirement she mentions in her email.