Differentiate between two types of looping constructs in python
Answers
Answered by
2
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.
Similar questions