For an infinite loop using the while construct, the typical condition used is while _______:

  • 1
  • FALSE
  • None of the above
  • TRUE
For creating an infinite loop using the 'while' construct, the typical condition used is 'while True:'. This condition ensures that the loop will continue running indefinitely since 'True' is always evaluated as true. Infinite loops can be useful in certain scenarios, such as running a server or a program that should run continuously.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *