Posts

The while loop in python

avatar of @filler
25
0 views
·
1 min read

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

Now for the output

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.