4/14/2021 8:22:54 PM
Python has no do-while-loop. You could emulate it in the following way:
A do-while loop is important because it is a post-test loop, meaning that it checks the condition only after executing the code in the loop block. Even though Python doesn't explicitly have the do-while loop , we can emulate it.
Python doesn't have do-while loop.
Can you tell me
no do-while-loop, but it exist that.
while (condition) :
As the title says. Maybe there is a diffrence between languages, in that case I'm learning C at the moment.
Send us a message