4. Which statement is used when a loop has to be executed while a given condition remains true?
5. Which loop continues to repeat a block of statements as long as the condition is false? in one word answer
Answers
Answered by
0
Answer:
4)In an event-controlled loop, the computer stops the loop execution when a condition is no longer true.
In Python, you can use the while statement for this – it executes the loop body while the condition is true.
The while statement checks the condition before performing each iteration of the loop.
5)Infinite Loops: An infinite loop is a set of commands that the computer will cycle through forever, because the "repeat while" condition is always true.
Answered by
1
Answer:
Hi Saranya I'm umasri thanks for following
Similar questions