0
loops in pythone
how to use loops in pythone.
3 Answers
+ 3
You can use this tutorial
https://www.sololearn.com/Course/JUMP_LINK__&&__Python__&&__JUMP_LINK/?ref=app
0
Then you have while loops which iterate while a condition is met. E.g.
x=0
while x <= 100:
if x%2 == 0:
print (x)
x += 1
Prints even numbers and could have also been done with a for loop using the range function.
0
thanks to all