+ 2
how to know whats the body of while loop?
i just saw the example in that lesson, and it dosent used any curly bases like there are in c++ so how does we decide how much lines are while loop body below it and when does next line of code start, dont all the lines below it gets included in the loop? thanks in advance for your answers
1 Answer
+ 4
In Python you use indentation instead of curly brackets like in c++.