【Python】【异常】
https://www.jianshu.com/p/2868b3193533
直接抛出异常 中断程序
捕获
try: 。。。 except Exception as e: print(e.args[0].reason.args[0])
如果忍耐算是坚强 我选择抵抗 如果妥协算是努力 我选择争取
https://www.jianshu.com/p/2868b3193533
直接抛出异常 中断程序
捕获
try: 。。。 except Exception as e: print(e.args[0].reason.args[0])