How to emulate a do-while loop?
Is there a Python equivalent of do… while loop? Python has try…except loop, while True loop, etc. I have tried anything but no one corrects C: int main { int y; do { scanf("%d",&y); } while (y>0); return 0; } You need to sign in to view this answers