python 自定义异常exception模块 方式1 - 定义成类使用 方式2 - 直接assert使用 方式3 - except 使用 except捕获【多个】异常,列表【index error处理】 ...