Expert in study
alarm
Ask
Computer Science
Marcia Allen

With syntax and flowchart explain the working principle of for statement​

answers: 1
Register to add an answer
The time for answering the question is over
388 cents Petter
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.

257
Petter
For answers need to register.
Contacts
mail@expertinstudy.com
Feedback
Expert in study
About us
For new users
For new experts
Terms and Conditions