Posts

Showing posts with the label python-Lesson 29

Python- While loop intro

Image
Good Morning boys Today we will take a step ahead into the concept of looping, with an introduction of the WHILE loop -------------------------------------------------------------------------------------------------------- By the end of this session, you will be able to: understand the need for while loop Understand the syntax of the WHILE loop Apply the loop to get the desired result Predict the output for a group of statements. ---------------------------------------------------------------------------------------------------------- The Google meet link for the class today is: Meeting ID meet.google.com/ieq-fame-iqi ------------------------------------------------------------------------------------------------------- Python while loop The while loop is also known as a pre-tested loop. In general, a while loop allows a part of the code to be executed as long as the given condition is true. It can be viewed as a repeating if stat...