मराठी

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
Advertisements

उत्तर

try

Explanation:

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

shaalaa.com
Handling Exceptions in Python
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×