Commit ea3fc51f by BellCodeEditor

save project

parent a45b4fe5
Showing with 4 additions and 3 deletions
...@@ -16,7 +16,7 @@ ls.pop(3) ...@@ -16,7 +16,7 @@ ls.pop(3)
print(ls) print(ls)
ls.remove("张飞") ls.remove("张飞")
print(ls) print(ls)
a=["华雄"] ls=["袁绍","刘备","张飞","关羽","曹操"]
a.append("关羽") a=["吕布"]
a.extend(['颜良','文丑']) a.extend(ls[1:4])
print(a) print(a)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment