下列语句中,不能捕获异常的是( )
(A)try:9/0
(B)try: 9/0、except:;’print("除数不能为0")
(C)try:9/0、except Exception as e:;print(e)
(D)try:9/0、except ZeroDivisionError as e:;print(e)
参考答案
继续答题:下一题
(A)try:9/0
(B)try: 9/0、except:;’print("除数不能为0")
(C)try:9/0、except Exception as e:;print(e)
(D)try:9/0、except ZeroDivisionError as e:;print(e)