The while loop in python

in coding •  9 months ago 

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.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

!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!