while loop within a while loop python code example
Example: while loop python
# While loop counting to 10 in 2's
i = 2
while i <= 10: # While i is less than or equal 10, it will add 2
print(i)
i = i + 2
# While loop counting to 10 in 2's
i = 2
while i <= 10: # While i is less than or equal 10, it will add 2
print(i)
i = i + 2