python中try语句中的语句未被except捕获
a = 'a'
b = 1
try :
af = float ( a )
bf = float ( b )
c = af / bf
except TypeError :
print ( 'They are not float' )
except ZeroDivisionError :
print ( 'Can not be divided by ZERO' )
else :
cf = c ** (1 / 3)
print ( cf )