The while loop in python

in #codinglast year

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.


!giphy computer

giphy is supported by witness untersatz!

Congratulations @filler! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You distributed more than 5000 upvotes. Your next target is to reach 6000 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!