The for Loop :-
for loop Python का एक Iterative Control Statement (दोहराव नियंत्रण कथन) है। इसका उपयोग किसी sequence या collection के elements को एक-एक करके access करने और statements को बार-बार execute करने के लिए किया जाता है।
Python में for loop के अंदर लिखे code को Indentation (रिक्त स्थान) देना आवश्यक होता है। Indentation यह बताता है कि कौन-सा statement for loop block के अंदर है। सामान्यतः Python में 4 spaces का indentation प्रयोग किया जाता है।
English
The for loop is an iterative control statement in Python. It is used to access the elements of a sequence or collection one by one and to execute statements repeatedly.
In Python, the code written inside a for loop must be given Indentation (spaces). Indentation indicates which statements are part of the for loop block. Generally, 4 spaces are used for indentation.