हिंदी

While handling exceptions in Python, name of the exception has to be compulsorily added with except clause.

Advertisements

प्रश्न

While handling exceptions in Python, name of the exception has to be compulsorily added with except clause. 

विकल्प

  • True

  • False

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

उत्तर

The statement is False.

Explanation:

The except block does not require the exception name to be specified.

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



      Forgot password?
Use app×