python while != example
Example 1: while loop python
while (condition):
doThis();
Example 2: while loop python
# while loop (python)
i = 0
while i < 10:
i +=1 #or i = i + 1
print(i)
while (condition):
doThis();
# while loop (python)
i = 0
while i < 10:
i +=1 #or i = i + 1
print(i)