+ 4
Is it necessary for the break statement to be indented twice?
Indented twice: Once for loop and Secondly for the if statement.
2 Réponses
+ 10
You did not specify programming language so I assume you're using python.
If you're using python then every indentation is necessary.
But if you're using any other language like C++, Java etc then it not compulsory but still it is good practice to indent things properly in a code to make it more readable.
+ 1
Affirmative m'lady