मराठी

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×