हिंदी

“In a Python program, if a break statement is given in a nested loop, it terminates the execution of all loops in one go.” - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

“In a Python program, if a break statement is given in a nested loop, it terminates the execution of all loops in one go.”

विकल्प

  • True

  • False

MCQ
सत्य या असत्य

उत्तर

This Statement is False.

Explanation:

The break statement breaks the loop immediately and exits it. It doesn't always end loops.

shaalaa.com
Handling Exceptions
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×