From 81399300ceaae322d88f290ae86ce6aa2438f913 Mon Sep 17 00:00:00 2001 From: liangzpjames <69845799+liangzpjames@users.noreply.github.com> Date: Tue, 23 Dec 2025 09:47:41 +0800 Subject: [PATCH] Fix tuple slicing example with updated value Updated the second element of tuple t2 from 43 to 45 in the slicing example. --- ...\273\223\346\236\204\344\271\213\345\205\203\347\273\204.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/Day01-20/10.\345\270\270\347\224\250\346\225\260\346\215\256\347\273\223\346\236\204\344\271\213\345\205\203\347\273\204.md" "b/Day01-20/10.\345\270\270\347\224\250\346\225\260\346\215\256\347\273\223\346\236\204\344\271\213\345\205\203\347\273\204.md" index e1b96d377..0408bb04d 100755 --- "a/Day01-20/10.\345\270\270\347\224\250\346\225\260\346\215\256\347\273\223\346\236\204\344\271\213\345\205\203\347\273\204.md" +++ "b/Day01-20/10.\345\270\270\347\224\250\346\225\260\346\215\256\347\273\223\346\236\204\344\271\213\345\205\203\347\273\204.md" @@ -26,7 +26,7 @@ print(t1[2]) # 98 print(t2[-1]) # 四川成都 # 切片运算 -print(t2[:2]) # ('骆昊', 43) +print(t2[:2]) # ('骆昊', 45) print(t2[::3]) # ('骆昊', '四川成都') # 循环遍历元组中的元素