KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

Using …………… loop, an infinite loop can be created.

  1. Fixed iterative loop
  2. while
  3. for
  4. all

Python Control Flow

2 Likes

Answer

while

Reason — An infinite loop can be created with the help of the while loop by giving an ever-true condition. Since the condition will never become false, the loop will keep on executing infinitely.

Answered By

3 Likes


Related Questions