+ 9
Is there a reason why the do-while (repeat-until) loop is not native implemented in py?
Which is the best way to fill in for it?
2 ответов
+ 13
I usually initialize the loop as infinite and break if the condition is not met. Serves the same after the first cycle.
+ 5
Thanks to all of you for the Giga-fast answer.