Knowledge check

Completed

Check your knowledge

1.

What are three elements that you might find in a traceback?

2.

What two keywords would you use for handling exceptions?

3.

Why would using except Exception be unhelpful?

4.

When can it be useful to use as err in an except block?

5.

What is the right syntax to catch two exceptions in the same except line?