MCQ Answer

What is the purpose of an else block in loops?

What is the purpose of an else block in loops?

लूप्स में else ब्लॉक का पर्पज़ क्या है?
Topic : Operators Expressions and Python Statements

A. To execute if the loop terminates normally without a break. यदि लूप बिना किसी ब्रेक के सामान्य रूप से टर्मिनेट हो जाता है तो एक्सक्यूट करने के लिए।

B. To execute after every iteration.. प्रत्येक इट्रेशन के बाद एक्सक्यूट करने के लिए..

C. To handle errors in the loop. लूप में एरर को हैंडल करने के लिए.

D. To terminate the loop. लूप को टर्मिनेट करने के लिए.




Correct Answer is :

A. To execute if the loop terminates normally without a break.



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz