阅读背景:

python7.1处理异常

来源:互联网 

a=[21,32,43,0,32,"a"]
for i in a:#取出元素

try:#写可能会报错的代码 try:#写可能




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: