The while statement, syntax

while CONDITION:
  STATEMENT1
  ...
  STATEMENTn

with

CONDITION, a Boolean expression

STATEMENT1,..,STATEMENTn, the statements in the 'body' of the while statement

Note: STATEMENT1,..,STATEMENTn generally determine CONDITION