With syntax and flowchart explain the working principle of for statement
Answers
Answered by
0
Answer:
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.
With the for loop we can execute a set of statements, once for each item in a list, tuple, set etc.
Explanation:
Answered by
2
Answer:
Hope this attachment helps you
Attachments:
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
Social Sciences,
2 months ago
English,
5 months ago
English,
10 months ago
Physics,
10 months ago