From 67f588e3496b51dd120b09cca025be36665e134f Mon Sep 17 00:00:00 2001 From: AaronXu <718827633@qq.com> Date: Thu, 6 Nov 2025 16:39:41 +0800 Subject: [PATCH] =?UTF-8?q?11-06-=E5=91=A8=E5=9B=9B=5F16-39-41?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01.基础语法/12.异常处理.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01.基础语法/12.异常处理.md b/01.基础语法/12.异常处理.md index b96a7e8..af04f73 100644 --- a/01.基础语法/12.异常处理.md +++ b/01.基础语法/12.异常处理.md @@ -68,11 +68,11 @@ TypeError: can only concatenate str (not "int") to str ```python # 触发IndexError -l=['eagle','aa'] +l=['张三','aa'] l[3] # 触发KeyError -dic={'name':'eagle'} +dic={'name':'张三'} dic['age'] #触发ValueError