#Author Kang
try:
name = [1,2,3]
print(name[2])
print(name[3]) #代码发生错误,执行Expection
except Exception as e: #抓取所有错误
print("错误信息:",e)
结果:
3
错误信息: list index out of range
售后响应及时
7×24小时客服热线数据备份
更安全、更高效、更稳定价格公道精准
项目经理精准报价不弄虚作假合作无风险
重合同讲信誉,无效全额退款