Ask Question
22 November, 18:55

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

+4
Answers (1)
  1. 22 November, 22:28
    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?
Find an answer to your question ✅ “Why you should you indent the statements in the body of a loop? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers