Commit adf02653 by BellCodeEditor

save project

parent e1be3412
Showing with 8 additions and 3 deletions
b=["刘备","夏侯惇","张飞","关羽"] b=["刘备","夏侯惇","张飞","关羽"]
b.pop(3) b.pop(3)
b.pop(-1) #b.pop(-1)
b.remove("关羽") #b.remove("关羽")
\ No newline at end of file b.insert(1,"华雄")
b.append("颜良")
c=["葡萄","苹果"]
b.extend(c)
print(b)
\ 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