Iteration Flashcards
1
Q
What is an iteration?
A
An act or process of repeating.
2
Q
How many times does an iteration repeat itself?
A
For a specific number of times or until a specific condition is met.
3
Q
What is the format of an iteration?
A
while condition:
loop body
loop body
Loop body is a group of instructions that will be repeated. The condition is what will loop the loob body.