When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.
8
youtu.be
While Loop in Python
You can use While loop or For loop in python, for iterating through objects. While loop just like any other programming language has a counter then an expression which if evaluates to true. Executes the while block. we keep on incrementing the counter. While also can have an else statement attached to it. This else statement only works when the while block has not encountered any kind of break statement. Break statement is used to break the loop and exit out of the loop. #pythonlearning