What is For Loop in Python?
For loop is used to repeat a code multiple times.
It goes through each Value in a Range, one by one, executes the code for each item.How it works:
You will write a code inside For Loop.It applies that code to each values in the Range, one by one. You will save time doing this instead of applying the code separately for each values.
It only stops the process when it reaches last value in a range.
Comments
Post a Comment