3 ms·
No, it's actually this: do_stuff while(some_condition): do_stuff The advantage of do/while in this situation is avoiding the duplicate code.
by skue 14y ago
No, it's actually this:
do_stuff
while(some_condition):
do_stuff
The advantage of do/while in this situation is avoiding the duplicate code.