The while loop in python

filler(58)
Published in
#coding
Words
52
Reading
1 min
7y
Listen to this post
~1 min

The while loop is easy to execute. Look at the screenshot to see an example

Capture.JPG

Now for the output

dddddd.JPG

while i = 1 and less than or equal to 10, it means that i will output all values specified in this condition. You can experiment with other numbers to understand the concept.

The while loop in python | Ecency