Robotics & Artificial Intelligence

The 'while' loop can be used to create an infinite loop.

Python Control Flow

1 Like

Answer

True

Reason — The while loop executes as long as the given condition evaluates to True. If the condition never becomes False, the loop will continue to execute indefinitely, thereby creating an infinite loop.

Answered By

1 Like


Related Questions