Ask Question
2 December, 14:28

Why you should you indent the statements in the body of a loop?

+3
Answers (1)
  1. 2 December, 18:08
    0
    Indenting is a visual way of representing blocks of code. In the case of a loop (but also applicable to conditional statements like if statements). It allows you to easily see to where the looped code extends. In most languages (python being a notable exception), the indenting is not important for correct compilation.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Why you should you indent the statements in the body of a loop? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers