हिंदी

Which of the following blocks lets you test a block of code for errors? -

Advertisements
Advertisements

प्रश्न

Which of the following blocks lets you test a block of code for errors?   

विकल्प

  • try

  • except

  • finally

  • None of the above

MCQ

उत्तर

try

Explanation:

Python uses the try and except block to catch and manage exceptions.

shaalaa.com
Handling Exceptions
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×