QuestionQ59

VerifiedException Handling

What caused the error shown below?

Question Image

Explanation

re is the Python regular-expression module. Referencing re.match() before importing the module, such as with import re, raises a NameError because the name re has not been defined.

Community Discussion

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