How do you raise a custom exception?单项选择题
A
raise Exception("error")
B
custom Exception("error")
C
error.raise()
D
create Exception("error")
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
Pick the code/s that correctly implements the following: Get a user input and save as 'min' variable if this input is not an integer, go to step 1 print it out to the console and exit the loop
Which keyword handles a thrown exception?
Which keyword explicitly throws an exception?
Error handler codes, to handle unusual errors are:
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!