QuestionQ121

VerifiedFunctions and Exceptions

The part of your code where you expect an exception might occur should be placed inside:

Explanation

A try: block encloses code that may raise an exception. An associated except: block handles a matching exception if one is raised.

Community Discussion

No comments yet. Be the first to start the discussion!