Advertisements
Advertisements
Question
Which of the following blocks lets you test a block of code for errors?
Options
try
except
finally
None of the above
MCQ
Advertisements
Solution
try
Explanation:
Python uses the try and except block to catch and manage exceptions.
shaalaa.com
Handling Exceptions in Python
Is there an error in this question or solution?
