Jul 26, 2017 · 1 min read
A while loop runs *while* the defined condition is met, not until it is met. Then it would be an ‘until’ loop:
while x < 5:
vs.
until x >= 5:
A while loop runs *while* the defined condition is met, not until it is met. Then it would be an ‘until’ loop:
while x < 5:
vs.
until x >= 5:
Written by