Commit 736b18b3 by BellCodeEditor

auto save

parent 54a947c2
a=["华雄"]
a.insert(1,"关羽")
print(a)
a=["华雄"]
c=["颜良","文丑"]
a.extend(c)
print(a)
\ No newline at end of file
...@@ -6,4 +6,5 @@ ...@@ -6,4 +6,5 @@
b=['袁术','夏侯惇','曹操','关羽'] b=['袁术','夏侯惇','曹操','关羽']
b.pop(3) b.pop(3)
b.remove('袁术') b.remove('袁术')
b.extend("")
print(b) print(b)
\ No newline at end of file
a=["吕布"]
b=["ys","sgz","gy","zf","lb","cc"]
a.extend(b[2:5])
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