हिंदी

While handling exceptions in Python, name of the exception has to be compulsorily added with except clause. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

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

विकल्प

  • True

  • False

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

उत्तर

The statement is False.

Explanation:

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

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

Englishहिंदीमराठी


      Forgot password?
Use app×