python-异常

1.try代码执行正常,就不会执行except的代码

2.只有try代码执行异常,就会执行except的代码

 

posted @ 2019-04-23 09:57  午间小憩  阅读(97)  评论(0)    收藏  举报