Commit 2d224474 by BellCodeEditor

auto save

parent c593e827
Showing with 7 additions and 1 deletions
# 勇于挑战的创造师,请运行这段代码,看看能不能将颜良、文丑加入战场?
a= ['华雄']
a.append('颜良','文丑')
#先把关羽加入战场
a.insert(1,"关羽")
#然后再把颜良加入战场第一个
a.insert(0,"颜良")
#最后把文丑加到战场最后一个
a.append("文丑")
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