May-12-2019, 04:32 PM
counter = 1
the variable named counter is assigned to point at an object that represents a 1.while counter == 1:
while the object assigned to counter is equal to a 1 continue to loop.counter = 0
the variable named counter is assigned to point at an object that represents a 0.Note: This will stop the above loop the above and only happens when
if i == 5:
evaluates to True.