try: ###如果無try就行唔到
x=1/0
except ZeroDivisionError: ##直接做一次error message再paste
print('zero division error')
else:
print("data is ok")
#####################################################
try:
x=1/2
except TypeError: #直接做一次error message再paste
print('make sure your input type is right')
except ZeroDivisionError:
print('zero division error')
else:
print("data is ok")
finally:
print("file closed")