Which reserved word indicates the start of an “indefinite” loop in python?
Indefinite loop means a loop continues to execute until the condition gets false. It can continue to execute an infinite number of times.
While is a reserved word which indicates the start of an “indefinite” loop in python.
The statements inside the while loop are executed till the condition stated in the while (condition) is true. If there are no conditions, the loop is infinite.
Subscribe
Login
Please login to comment
0 Discussion