Question: Code containing a generic while loop has the following form: while boolean: statement1 if boolean: continue if boolean: break statement Which statement(s) is true? None


Code containing a "generic" while loop has the following form: while boolean: statement1 if boolean: continue if boolean: break statement Which statement(s) is true? None of the above If 'continue' is executed, control returns to the top. If 'break' is executed, statement2 is executed. If 'break' is executed, control returns to the top. If 'continue' is executed, the loop is terminated. How many times is the Boolean condition executed? i = 1 while i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
