question # 4\nmultiple choice\nwhat is the missing word in the following code?\n____over120error(exception):\…

question # 4\nmultiple choice\nwhat is the missing word in the following code?\n____over120error(exception):\npass\nexception\nclass\ndef\nerror

question # 4\nmultiple choice\nwhat is the missing word in the following code?\n____over120error(exception):\npass\nexception\nclass\ndef\nerror

Answer

Brief Explanations:

In Python, when defining a custom exception class, the keyword 'class' is used. Here, we are defining a new exception - like class named Over120Error which inherits from the built - in Exception class. So the missing keyword is 'class'.

Answer:

B. class