Explain for loop?
Ans.-The for loop in python is used to
statement or a part of the program several times.it is frequently used to
traverse the data structure like list, tuple, or dictionary.
Syntax:-
For
iterating_var in sequence:
Statements(s)