What are the types of looping constructs used in Python?
Answers
Answered by
4
Answer:
Looping constructs in any programming language are used to perform a sequence of steps repeatedly for a given number of times. Python allows two types of loops: the for loop and the while loop. It is also possible to add a loop in another loop and create a nested loop in Python.
Answered by
9
Explanation:
Looping constructs in any programming language are usedto perform a sequence of steps repeatedly for a given number of times. Python allows two types of loops: the for loop and the while loop. It is also possible to add a loop in another loop and create a nested loop in Python
Similar questions