Different methods

Report a typo

Match each keyword with its meaning.

Match the items from left and right columns
assert
try-except
raise
It is used for raising an exception if the given condition is False.
It is used for executing a part of a code that might raise an exception, and if so, catch it.
It is used for raising an exception.
___

Create a free account to access the full topic