除此之外, Python也允许程序自行引发异常,自行引发异常使用raise 语句来完成。 ... 也不会传播给main函数mtd(3) except Exception as e: print('程序出现异常:', ...
確定! 回上一頁