In this video, you will learn 'for' loop in Python.
A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string).
With the for loop, we can execute a set of statements, once for each item in a list, tuple, set, etc.
SYNTAX:
for var in sequence:
statement(s)
Here, var is the variable that takes the value of the item inside the sequence on each iteration.
Loop continues until we reach the last item in the sequence.
https://www.prowessapps.in/python
Write your queries at:
daneyallari@gmail.com
prowessapps.in@gmail.com
Please like, comment, share and subscribe.
Thank You
#daneyallari #python #pythonByDaneyalLari