which of the following is not a loop statements in python ?
a do-while
b while
c for
d all of these
Answers
Answer:
all of these
May it help you
By Raj Sandhu
Answer:
a. do-while loop
Python does not use the do-while loop as a loop.
Explanation:
Because there is no elegant method to write a do...while loop that fits in the statement: indentation block pattern used by another Python includes composition, there is no such thing as a do...while loop. Because of this, initiatives to add equivalent syntax haven't ever found consensus.
Do while loops are control flow statements that, based on a given boolean condition at the conclusion of the block, either continuously repeat a block of code or cease executing it altogether.
A variation of the while loop is the do/while loop. Before determining whether the condition is true, this loop will run the line of code once. If the condition is true, it will then continue the loop.
#SPJ3