Write a detail note on for loop in python
Answers
Answered by
1
Answer:
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
Computer Science,
22 days ago
Hindi,
22 days ago
Sociology,
1 month ago
Math,
1 month ago
Math,
8 months ago
Social Sciences,
8 months ago