单选题

执行下面Python代码,输入0和字符串“abc”后,输出的结果是?(    )

try:

a = int(input())

b = int(input()) 

x = a / b print(x, end="#")

except ZeroDivisionError: 

print(0, end="#")

except:

print(1, end="#") 

else:

print(2, end="#") 

finally:

print(3, end="#")

A

0#2#3#

B

0#3#

C

1#2#3#

D

1#3#

赣ICP备20007335号-2