1.语法
try: print(10/0) except Exception as e: print("0不能做除数!") finally: print("后面操作")
学习笔记 : 异常处理
原文:https://www.cnblogs.com/yjhkhnuje/p/10017980.html