Computer Science, asked by babloobalmiki23, 1 month ago

how many loops are there in python? explain them also.​

Answers

Answered by zoey17
0

Answer:

There are two types of loops in Python, for and while

Explanation:

A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string). With the for loop we can execute a set of statements, once for each item in a list, tuple, set etc.

Similar questions