python3 的try except else finally 不能跳转到 except
x= 100 y = 0
try:
print(x/y)
except zerodivisionerror as e:
print( ' not allowed to divide by zero')
这个try错了 为啥不跳到 except 然后显示炸了
x= 100 y = 0
try:
print(x/y)
except zerodivisionerror as e:
print( ' not allowed to divide by zero')
这个try错了 为啥不跳到 except 然后显示炸了