Python - For Loop
In a
for-else loop, when will the else block NOT execute?for-else loop, when will the else block NOT execute?break in for-elseelse block is skipped if the loop is exited early by a break.break, the else block executes. If break runs, else does not.break statement that is executed -> Option Belse skips if break runs [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions