Write the name of loop which executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.
Answers
Explanation:
Write the name of loop which executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.
Results in English
जो बयान कई बार के अनुक्रम कार्यान्वित और कोड कि पाश चर का प्रबंधन करता है abbreviates लूप के नाम लिखने
हिन्दी में नतीजे
Search Results
Featured snippet from the web
Python - Loops
Sr.No. Loop Type & Description
2 for loop Executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.
3 nested loops You can use one or more loop inside any another while, for or do..while loop.
The for loop executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.
Explanation:
The for loop can iterate over sequence elements, such as a list or a string. It's often used when we have a piece of code that we want to repeat several times.
- Syntax - for iterating_var in sequence:
statements(s)
- If a sequence includes a list of expressions, it is first evaluated. Then, the first element in the sequence assigned to the iterating variable. Next, it executes the sequence of statements in the block. Each item in the list is assigned to iterating_var, and the statement(s) block is performed until the complete sequence is drained.