while loop

While
Β 
allowsΒ 
aΒ 
programmerΒ 
toΒ 
repeat
Β 
aΒ 
blockΒ 
ofΒ 
statementsΒ 
forΒ 
theΒ 
TRUE
Β 
condition.
ItΒ 
verifiesΒ 
theΒ 
conditionΒ 
beforeΒ 
executingΒ 
theΒ 
loop.
TheΒ 
codeΒ 
insideΒ 
whileΒ 
blockΒ 
isΒ 
repeatedΒ 
asΒ 
longΒ 
asΒ 
theΒ 
givenΒ 
conditionΒ 
remainsΒ 
True.
while expression1:
      Statement1
       (Incrementing the value if required)
percentage = 0
while percentage <= 100:
  print('Hacking 10:68:3f:52:71:5b', percentage, '%')
  percentage = percentage + 25

#Python runs this line after the loop stops.
print("System hacked, and you're under the watch of the Red Eye now!")