python执行到return语句时,会退出函数,return之后的语句不再执行。但将return语句放在try语句块中,是个例外。

转:https://blog.csdn.net/Candy_GL/article/details/85711422

猜你喜欢

转载自blog.csdn.net/weixin_42205776/article/details/88973518