Report Bug

QusWhat is the purpose of the else block in a Python loop? Qusपायथन लूप में अन्य ब्लॉक का पर्पज क्या है?


A. To execute when the loop is terminated using break.
B. To execute after the loop completes without encountering a break.
C. To restart the loop.
D. To execute before the loop starts


Solution
B. To execute after the loop completes without encountering a break.



Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad