Professional Documents
Culture Documents
LOOPS
LOOPS
What is a Loop?
• This refers to statements in a program executed
repeatedly, either a fixed number of times or
until some condition is TRUE or FALSE.
• It also serves as control structures in which a
block of instructions is repeated until a condition
is fulfilled.
What is a Loop?
Syntax
While <expression>:
body