English

How many except statements can a try-except block have? -

Advertisements
Advertisements

Question

How many except statements can a try-except block have?

Options

  • zero

  • one

  • more than one

  • more than zero

MCQ

Solution

more than zero

Explanation:

At least one except statement is required.

shaalaa.com
Handling Exceptions
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×