单选题

以下程序的输出结果是?( )

x=2

y=0

try:

    z =x/y

except ZeroDivisionError:

    print('error')

A

z

B

2.0

C

error

D

没有输出

赣ICP备20007335号-2