Commit a45b4fe5 by BellCodeEditor

save project

parent 3785afa0
Showing with 6 additions and 2 deletions
...@@ -15,4 +15,8 @@ ls=["刘备","张飞","关羽","华雄"] ...@@ -15,4 +15,8 @@ ls=["刘备","张飞","关羽","华雄"]
ls.pop(3) ls.pop(3)
print(ls) print(ls)
ls.remove("张飞") ls.remove("张飞")
print(ls) print(ls)
\ No newline at end of file a=["华雄"]
a.append("关羽")
a.extend(['颜良','文丑'])
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