What are loops in python?
Please tell!
Answers
Answered by
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
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
Social Sciences,
4 months ago
English,
4 months ago
Math,
8 months ago
English,
8 months ago
Biology,
1 year ago