Explain for loop in python......
Answers
Answered by
29
For loop in python is designed to process the item of any sequence,such as list or a string,one by one. The for loop will run until the given condition is true.
Thankyou☺
Answered by
13
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). This is less like the for keyword in other programming languages, and works more like an iterator method as found in other object-orientated programming languages.
Similar questions
English,
5 months ago
Math,
5 months ago
Computer Science,
10 months ago
Social Sciences,
10 months ago