Computer Science, asked by Anonymous, 11 months ago

Explain for loop in python......​

Answers

Answered by Anonymous
29

 \rule{300}{2}

\huge\boxed{Answer:}

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☺

 \rule{300}{2}

Answered by simran7539
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