Tested, A is correct. The raise keyword here does not raise a generic exception.
"When we do not give any exception class name with the raise keyword, it reraises the exception that last occurred."
So that line in the function re-raises the ArithmeticError a second time.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
eskimolight
4 months, 1 week agoDave304409
4 months, 3 weeks agoDKAT2023
5 months agoFasterN8
5 months, 2 weeks ago