- Looping allows to do repetitive tasks.
- In a while loop condition is checked first and then the code is executed but in do loop the condition is checked is checked after the execution of code.
- Indentation is giving some space in starting of a line of code so that it becomes easy to read and manage.
What is looping control flow allowing us to do?
It allows us to return to a point in the program where we were before
Describe what “loops” do in your own words.
Loops are functions that repeat a set number of times until a chosen requirement is met.
What is the difference between while and do-loops?
While loops will only run if the chosen boolean is true.
Do loops will always run once and then check to see if they should run again.
- What is indentation?
Adding a number of spaces or a tab to your code to make it more readable for humans.