From 2f5ec1bd990649d3439c97a80cd709e5f1d51e0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=A6=E8=8B=B1=E6=9D=B0?= <327782001@qq.com>
Date: Tue, 10 Oct 2023 09:25:30 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 25 ++++++++++---------
.../01_list\345\210\240\351\231\244.py" | 7 ++++++
2 files changed, 20 insertions(+), 12 deletions(-)
create mode 100644 "05_\346\225\260\346\215\256\345\256\271\345\231\250/01_list\345\210\240\351\231\244.py"
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index db8d409..645e8d7 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,7 @@
-
+
@@ -51,11 +51,11 @@
+
-
@@ -248,13 +248,7 @@
-
-
- 1685544241606
-
-
-
- 1685544241606
+
1685618936695
@@ -592,7 +586,14 @@
1688438009417
-
+
+ 1688438231472
+
+
+
+ 1688438231472
+
+
@@ -623,7 +624,6 @@
-
@@ -637,7 +637,8 @@
-
+
+
diff --git "a/05_\346\225\260\346\215\256\345\256\271\345\231\250/01_list\345\210\240\351\231\244.py" "b/05_\346\225\260\346\215\256\345\256\271\345\231\250/01_list\345\210\240\351\231\244.py"
new file mode 100644
index 0000000..90d41dc
--- /dev/null
+++ "b/05_\346\225\260\346\215\256\345\256\271\345\231\250/01_list\345\210\240\351\231\244.py"
@@ -0,0 +1,7 @@
+# 删除第二个元素
+
+my_list = [1, 2, 3, 4, 5]
+deleted_element = my_list.pop(1)
+
+print("删除的元素:", deleted_element)
+print("删除元素后的列表:", my_list)
--
GitLab