Tag Archives: Flow Control

Python While Loop

In this tutorial, we will discuss one more loop which is while loop, as like for loop while loop also used to repeat a block of code. In this article, you will code and learn all the concepts of while loop. so let’s discuss Python While Loop. While loop: Like for loop while loop is used to repeat… Read More »

Python For Loop

In this tutorial, we are going to discuss the how can we use for loop to iterate over a sequence of elements. so let’s discuss Python for loop. What is for loop? A for loop is an iterator which is used to iterate over a sequence of elements. The sequence of elements could be anything a string or… Read More »