Computer Science, asked by abc3494, 8 months ago

What are loops in python?
Please tell!​

Answers

Answered by Anonymous
6

Explanation:

Python For Loops. 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.

Answered by BrundansaiCH
2

Answer:

.•♫•♬• IN PYTHON, WHILE LOOP IS USED TO EXECUTE A BLOCK OF STATEMENTS REPEATEDLY UNTIL A GIVEN A CONDITION IS SATISFIED. AND WHEN THE CONDITION BECOMES FALSE, THE LINE IMMEDIATELY AFTER THE LOOP IN PROGRAM IS EXECUTED. •♫•♬•

Similar questions