Commit 0a091a0f by BellCodeEditor

save project

parent c9381415
Showing with 11 additions and 3 deletions
......@@ -9,4 +9,12 @@ b.pop(3)
.remove('关羽')
e=['袁术','夏侯惇','曹操','关羽']
e.pop(-1)
print(b,,e)
\ No newline at end of file
print(b,,e)
d=['袁术','夏侯惇','曹操','关羽']
a=['颜良','文丑']
d.extend(a)
print(d)
r=['袁术','夏侯惇','曹操','关羽']
r.append('颜良')
r.append('文丑')
print(r)
\ No newline at end of file
# 勇于挑战的创造师,请运行这段代码,看看能不能将颜良、文丑加入战场?
a= ['华雄']
a.extend('颜良','文丑')
print(a)
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